diff options
author | Martin Odersky <odersky@gmail.com> | 2006-04-28 16:15:47 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-04-28 16:15:47 +0000 |
commit | 8243b2dd2d69dc3dda741d2df2a4bfdfae36077c (patch) | |
tree | 365abd28fc9974c096b58389ea6f2a061a6c9b4b /src/compiler | |
parent | 103fc2b13ddd42775f76558612c163af132362fb (diff) | |
download | scala-8243b2dd2d69dc3dda741d2df2a4bfdfae36077c.tar.gz scala-8243b2dd2d69dc3dda741d2df2a4bfdfae36077c.tar.bz2 scala-8243b2dd2d69dc3dda741d2df2a4bfdfae36077c.zip |
fixed bug 577
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Contexts.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala index 215d338e3e..a5905db70d 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala @@ -260,7 +260,7 @@ trait Contexts requires Analyzer { ) && ( sym.privateWithin == NoSymbol || - accessWithin(sym.privateWithin) + phase.erasedTypes || accessWithin(sym.privateWithin) ) } |