diff options
author | mihaylov <mihaylov@epfl.ch> | 2006-06-12 15:01:05 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2006-06-12 15:01:05 +0000 |
commit | 6e756ebf32d2a1eb5cdeee894237193c0a06f508 (patch) | |
tree | 8e7666bf30eb2ec48e77273233af048bb152974a /src/compiler | |
parent | ae11503b40b26bc6835e0506ebc57f941c717aa3 (diff) | |
download | scala-6e756ebf32d2a1eb5cdeee894237193c0a06f508.tar.gz scala-6e756ebf32d2a1eb5cdeee894237193c0a06f508.tar.bz2 scala-6e756ebf32d2a1eb5cdeee894237193c0a06f508.zip |
Generate Nil for List()src/compiler/scala/tools...
Generate Nil for
List()src/compiler/scala/tools/nsc/typechecker/Typers.scala
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Definitions.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Definitions.scala b/src/compiler/scala/tools/nsc/symtab/Definitions.scala index 723db0a7fc..0a29cf3da4 100644 --- a/src/compiler/scala/tools/nsc/symtab/Definitions.scala +++ b/src/compiler/scala/tools/nsc/symtab/Definitions.scala @@ -74,6 +74,8 @@ trait Definitions requires SymbolTable { def List_isEmpty = getMember(ListClass, nme.isEmpty) def List_head = getMember(ListClass, nme.head) def List_tail = getMember(ListClass, nme.tail) + var ListModule: Symbol = _; + def List_apply = getMember(ListModule, nme.apply); var ArrayClass: Symbol = _ var SerializableClass: Symbol = _ var PredefModule: Symbol = _ @@ -492,6 +494,7 @@ trait Definitions requires SymbolTable { IteratorClass = getClass("scala.Iterator") SeqClass = getClass("scala.Seq") ListClass = getClass("scala.List") + ListModule = getModule("scala.List") ArrayClass = getClass("scala.Array") SerializableClass = if (forCLDC) null else getClass("java.io.Serializable") PredefModule = getModule("scala.Predef") |