diff options
author | Martin Odersky <odersky@gmail.com> | 2003-11-19 18:39:52 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-11-19 18:39:52 +0000 |
commit | c7b74a41f1c8ba18229e11b5a6de2d1adfd33ed1 (patch) | |
tree | 95bc39f0e98a58d10ab4bafd340aa13784b0c629 | |
parent | 9f261a92407152112b1d2cc8ddfeb297c42daac9 (diff) | |
download | scala-c7b74a41f1c8ba18229e11b5a6de2d1adfd33ed1.tar.gz scala-c7b74a41f1c8ba18229e11b5a6de2d1adfd33ed1.tar.bz2 scala-c7b74a41f1c8ba18229e11b5a6de2d1adfd33ed1.zip |
*** empty log message ***
-rw-r--r-- | sources/scalac/ast/Tree.java.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/ast/Tree.java.tmpl b/sources/scalac/ast/Tree.java.tmpl index bbc034cf8c..5f5277b8af 100644 --- a/sources/scalac/ast/Tree.java.tmpl +++ b/sources/scalac/ast/Tree.java.tmpl @@ -61,10 +61,10 @@ public class Tree { /** Get the type of the node. */ public final Type getType() { - return type(); + return type; } - /** Get the type of the node. */ + /** Get the type of the node, which must be non-null. */ public Type type() { assert type != null : Debug.show(this); return type; |