diff options
author | Martin Odersky <odersky@gmail.com> | 2007-04-23 15:04:41 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-04-23 15:04:41 +0000 |
commit | 90c68e19144fa811671b8e1dc3ad0e7ecc5b487c (patch) | |
tree | 37c519edab3463b2c1da648296f4fe0dc6eeb1e1 /src | |
parent | dd225e9a2580d1824be7016cc9428d5aeb7122fa (diff) | |
download | scala-90c68e19144fa811671b8e1dc3ad0e7ecc5b487c.tar.gz scala-90c68e19144fa811671b8e1dc3ad0e7ecc5b487c.tar.bz2 scala-90c68e19144fa811671b8e1dc3ad0e7ecc5b487c.zip |
fix of typo
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index de86bc9948..86ce75eca6 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -642,7 +642,7 @@ trait Typers requires Analyzer { inferConstructorInstance(tree1, clazz.typeParams, widen(pt)) } catch { case tpe : TypeError => throw tpe - case t : Exception + case t : Exception => logError("CONTEXT: " + (tree.pos).dbgString, t) throw t } @@ -2624,7 +2624,7 @@ trait Typers requires Analyzer { //Console.println("caught "+ex+" in typed");//DEBUG reportTypeError(tree.pos, ex) setError(tree) - case ex: Exception + case ex: Exception => // if (settings.debug.value) // @M causes cyclic reference error // Console.println("exception when typing "+tree+", pt = "+pt) if ((context ne null) && (context.unit ne null) && |