summaryrefslogtreecommitdiff
path: root/sources/scalac/ast
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2004-09-03 13:16:27 +0000
committerMartin Odersky <odersky@gmail.com>2004-09-03 13:16:27 +0000
commit72e388e281b16d3955f13e426b5df7e97f0d8a09 (patch)
treefcdcbfd8f992d8508a591a80abdada3b7dcb208e /sources/scalac/ast
parent23984e79ff7bae4100d2286df754f3dce5ab3e84 (diff)
downloadscala-72e388e281b16d3955f13e426b5df7e97f0d8a09.tar.gz
scala-72e388e281b16d3955f13e426b5df7e97f0d8a09.tar.bz2
scala-72e388e281b16d3955f13e426b5df7e97f0d8a09.zip
*** empty log message ***
Diffstat (limited to 'sources/scalac/ast')
-rw-r--r--sources/scalac/ast/TreeGen.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java
index bf481e1b39..e077413b3b 100644
--- a/sources/scalac/ast/TreeGen.java
+++ b/sources/scalac/ast/TreeGen.java
@@ -747,6 +747,7 @@ public class TreeGen implements Kinds, Modifiers, TypeTags {
/** Builds an If node with given components and type. */
public If If(int pos, Tree cond, Tree thenpart, Tree elsepart, Type type) {
+ //if (!thenpart.type.isSubType(type)) System.out.println(type + "!>:(" + thenpart.type + "," + elsepart.type + ")");//debug
assert assertTreeSubTypeOf(thenpart, type);
assert assertTreeSubTypeOf(elsepart, type);
If tree = make.If(pos, cond, thenpart, elsepart);