summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorschinz <schinz@epfl.ch>2003-08-15 13:42:50 +0000
committerschinz <schinz@epfl.ch>2003-08-15 13:42:50 +0000
commit73b8c5b0395d003200cdaa414ec948e2e281c4f7 (patch)
tree5f20a3f0b359842a29861ffb4e774881a460b449 /sources
parent5fdf691280325593178fb60c1eee97255dcddf8a (diff)
downloadscala-73b8c5b0395d003200cdaa414ec948e2e281c4f7.tar.gz
scala-73b8c5b0395d003200cdaa414ec948e2e281c4f7.tar.bz2
scala-73b8c5b0395d003200cdaa414ec948e2e281c4f7.zip
- updated to the new flavour of Super node
Diffstat (limited to 'sources')
-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 c3d5fc7225..403e2b5a26 100644
--- a/sources/scala/tools/scalai/ExpressionCompiler.java
+++ b/sources/scala/tools/scalai/ExpressionCompiler.java
@@ -165,7 +165,7 @@ public class ExpressionCompiler {
private Code object(Tree tree) {
switch (tree) {
- case Select(Super(_), _):
+ case Select(Super(_, _), _):
return Code.Self;
case Select(Tree expr, _):
@@ -241,7 +241,7 @@ public class ExpressionCompiler {
function = symbol.name == plus_N ? Function.Pos : Function.Neg;
}
switch (target) {
- case Select(Super(_), _):
+ case Select(Super(_, _), _):
Template template = context.lookupTemplate(symbol.owner());
switch (template) {
case Global(ScalaTemplate template_):