diff options
author | Martin Odersky <odersky@gmail.com> | 2007-05-17 14:25:04 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-05-17 14:25:04 +0000 |
commit | b0e9768e07ee66051472ead0a025c6612eaa5880 (patch) | |
tree | eeb22e950d6d0fd1cae526dc7d77713f06a9a5f8 /src | |
parent | 28cd5c6e5efd61951d3c0245e6c93ac69ad22f70 (diff) | |
download | scala-b0e9768e07ee66051472ead0a025c6612eaa5880.tar.gz scala-b0e9768e07ee66051472ead0a025c6612eaa5880.tar.bz2 scala-b0e9768e07ee66051472ead0a025c6612eaa5880.zip |
fixed bug1102
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Infer.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala index 12935ab227..cbee42ac9c 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala @@ -1218,6 +1218,8 @@ trait Infer { try { infer } catch { + case ex: CyclicReference => + throw ex case ex: TypeError => context.reportGeneralErrors = reportGeneralErrors context.implicitsEnabled = true |