summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-03-14 10:28:13 +0000
committerpaltherr <paltherr@epfl.ch>2003-03-14 10:28:13 +0000
commit1a44c882dc8807567058c00d35f9175a7484c640 (patch)
tree22166e7012ed868335263645d28f44c89a2ca0b7
parent68e734d000dfbea805c752a20c473121039a8c97 (diff)
downloadscala-1a44c882dc8807567058c00d35f9175a7484c640.tar.gz
scala-1a44c882dc8807567058c00d35f9175a7484c640.tar.bz2
scala-1a44c882dc8807567058c00d35f9175a7484c640.zip
- Changed origin of symbol in translation of me...
- Changed origin of symbol in translation of method "is"
-rw-r--r--sources/scala/tools/scalai/ExpressionCompiler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scala/tools/scalai/ExpressionCompiler.java b/sources/scala/tools/scalai/ExpressionCompiler.java
index f83465665b..691682df4c 100644
--- a/sources/scala/tools/scalai/ExpressionCompiler.java
+++ b/sources/scala/tools/scalai/ExpressionCompiler.java
@@ -187,8 +187,8 @@ public class ExpressionCompiler {
}
if (symbol == definitions.IS) {
assert trees.length == 1 : Debug.show(trees);
- assert trees[0].hasSymbol() : trees[0];
- Symbol expect = trees[0].symbol();
+ //assert trees[0].hasSymbol() : trees[0];
+ Symbol expect = trees[0].type().symbol();
// !!! BUG: expect is null for .is[Int]
assert expect != null : trees[0];
// !!! System.out.println("!!! IS " + expect);