diff options
author | Martin Odersky <odersky@gmail.com> | 2006-11-17 17:31:51 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-11-17 17:31:51 +0000 |
commit | f6183ef4b030030606f46fe2463d325e39ae6174 (patch) | |
tree | 9f9630626ff7dceb0ec1a577c3765600a5be3424 /src/compiler/scala/tools/nsc/symtab/Symbols.scala | |
parent | 7106a3e0e1ec4bf27ba7f8b23ae32a37c579243c (diff) | |
download | scala-f6183ef4b030030606f46fe2463d325e39ae6174.tar.gz scala-f6183ef4b030030606f46fe2463d325e39ae6174.tar.bz2 scala-f6183ef4b030030606f46fe2463d325e39ae6174.zip |
fixed bugs 802 and 807 (recursive lub problems).
Changes system so that now an approximation of lub/glb is computed.
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/Symbols.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Symbols.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Symbols.scala b/src/compiler/scala/tools/nsc/symtab/Symbols.scala index ad3f6f9f47..f1694f3c73 100644 --- a/src/compiler/scala/tools/nsc/symtab/Symbols.scala +++ b/src/compiler/scala/tools/nsc/symtab/Symbols.scala @@ -373,7 +373,7 @@ trait Symbols requires SymbolTable { /** Get type info associated with symbol at current phase, after * ensuring that symbol is initialized (i.e. type is completed). */ - final def info: Type = { + def info: Type = { var cnt = 0 while (validTo == NoPeriod) { //if (settings.debug.value) System.out.println("completing " + this);//DEBUG @@ -1274,6 +1274,7 @@ trait Symbols requires SymbolTable { override def ownerChain: List[Symbol] = List() override def alternatives: List[Symbol] = List() override def reset(completer: Type): unit = {} + override def info: Type = NoType override def rawInfo: Type = NoType def cloneSymbolImpl(owner: Symbol): Symbol = throw new Error() } |