From c7b74a41f1c8ba18229e11b5a6de2d1adfd33ed1 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 19 Nov 2003 18:39:52 +0000 Subject: *** empty log message *** --- sources/scalac/ast/Tree.java.tmpl | 4 ++-- 1 file 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; -- cgit v1.2.3