diff options
author | Martin Odersky <odersky@gmail.com> | 2011-04-13 15:07:21 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-04-13 15:07:21 +0000 |
commit | 514d01c1ce9219a10f37d50a39cfeb420d76e38c (patch) | |
tree | f63d82982a4973ab8117b7dcc0730b3723a8264f /src/compiler/scala/tools/nsc/typechecker/Typers.scala | |
parent | 703bbdae73800e49d737e133e3a05929005294fc (diff) | |
download | scala-514d01c1ce9219a10f37d50a39cfeb420d76e38c.tar.gz scala-514d01c1ce9219a10f37d50a39cfeb420d76e38c.tar.bz2 scala-514d01c1ce9219a10f37d50a39cfeb420d76e38c.zip |
Fixes my part of #4283 by inserting another cas...
Fixes my part of #4283 by inserting another cast pre-emptively when an
IllegalAccess error is possible in an erasure-inserted cast. Review by
extempore.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index 09786a4aae..5d6796b41a 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -183,7 +183,7 @@ trait Typers extends Modes { namerCache } - private[typechecker] var context = context0 + var context = context0 def context1 = context /** Check that <code>tree</code> is a stable expression. |