diff options
author | paltherr <paltherr@epfl.ch> | 2004-02-12 15:10:40 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-02-12 15:10:40 +0000 |
commit | 2014d1feeefd1bc6bcfee0cee347c4a77db05253 (patch) | |
tree | deffe18f0bf6527171d655885445abc8bb17023b /sources/scalac/typechecker/Context.java | |
parent | b62de8dc4f94efa47bf6714865b8bbf4df700046 (diff) | |
download | scala-2014d1feeefd1bc6bcfee0cee347c4a77db05253.tar.gz scala-2014d1feeefd1bc6bcfee0cee347c4a77db05253.tar.bz2 scala-2014d1feeefd1bc6bcfee0cee347c4a77db05253.zip |
- Changed Tree.Block(Tree[]) to Tree.Block(Tree...
- Changed Tree.Block(Tree[]) to Tree.Block(Tree[],Tree)
Diffstat (limited to 'sources/scalac/typechecker/Context.java')
-rw-r--r-- | sources/scalac/typechecker/Context.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/typechecker/Context.java b/sources/scalac/typechecker/Context.java index 61bf0a8299..347e6d565d 100644 --- a/sources/scalac/typechecker/Context.java +++ b/sources/scalac/typechecker/Context.java @@ -51,7 +51,7 @@ public class Context { boolean isTopLevel() { switch (tree) { - case Block(_): + case Block(_, _): return false; case Template(_, _): return outer.tree instanceof Tree.PackageDef; |