diff options
Diffstat (limited to 'sources/scala/tools/scalac/typechecker/Context.scala')
-rw-r--r-- | sources/scala/tools/scalac/typechecker/Context.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/tools/scalac/typechecker/Context.scala b/sources/scala/tools/scalac/typechecker/Context.scala index 81089e0b26..56e3852a18 100644 --- a/sources/scala/tools/scalac/typechecker/Context.scala +++ b/sources/scala/tools/scalac/typechecker/Context.scala @@ -51,7 +51,7 @@ class Context { } def isTopLevel(): boolean = tree match { - case Tree$Block(_) => + case Tree$Block(_,_) => false case Tree$Template(_, _) => outer.tree.isInstanceOf[Tree$PackageDef] |