summaryrefslogtreecommitdiff
path: root/sources/scalac/ast
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-11-19 18:39:52 +0000
committerMartin Odersky <odersky@gmail.com>2003-11-19 18:39:52 +0000
commitc7b74a41f1c8ba18229e11b5a6de2d1adfd33ed1 (patch)
tree95bc39f0e98a58d10ab4bafd340aa13784b0c629 /sources/scalac/ast
parent9f261a92407152112b1d2cc8ddfeb297c42daac9 (diff)
downloadscala-c7b74a41f1c8ba18229e11b5a6de2d1adfd33ed1.tar.gz
scala-c7b74a41f1c8ba18229e11b5a6de2d1adfd33ed1.tar.bz2
scala-c7b74a41f1c8ba18229e11b5a6de2d1adfd33ed1.zip
*** empty log message ***
Diffstat (limited to 'sources/scalac/ast')
-rw-r--r--sources/scalac/ast/Tree.java.tmpl4
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;