diff options
author | Martin Odersky <odersky@gmail.com> | 2004-04-23 14:11:16 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2004-04-23 14:11:16 +0000 |
commit | 92fcc53be94a107f3b560b855564bc39ba8f2372 (patch) | |
tree | c1b8e40ef4d21e18741b9f286d6e9047d39cc44e /sources/scalac/ast | |
parent | abe707d00a280e8f33cbc2a064cb970460c19d7d (diff) | |
download | scala-92fcc53be94a107f3b560b855564bc39ba8f2372.tar.gz scala-92fcc53be94a107f3b560b855564bc39ba8f2372.tar.bz2 scala-92fcc53be94a107f3b560b855564bc39ba8f2372.zip |
*** empty log message ***
Diffstat (limited to 'sources/scalac/ast')
-rw-r--r-- | sources/scalac/ast/TreeGen.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java index 405f14d618..9e08df3f56 100644 --- a/sources/scalac/ast/TreeGen.java +++ b/sources/scalac/ast/TreeGen.java @@ -838,7 +838,7 @@ public class TreeGen implements Kinds, Modifiers, TypeTags { /** Builds an empty list. */ public Tree mkNil(int pos) { - return mkGlobalRef(pos, definitions.NIL); + return mkGlobalRef(pos, definitions.NIL()); } /** Builds a list with given element type, head and tail. */ @@ -852,7 +852,7 @@ public class TreeGen implements Kinds, Modifiers, TypeTags { global.prevPhase(); return New( mkApplyTV( - mkPrimaryConstructorGlobalRef(pos, definitions.CONS_CLASS), + mkPrimaryConstructorGlobalRef(pos, definitions.CONS_CLASS()), new Type[]{element}, new Tree[]{head, tail})); } |