diff options
author | Paul Phillips <paulp@improving.org> | 2012-03-20 14:23:40 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-03-20 18:42:09 -0700 |
commit | 6d7bcd5818b856d4596b57b7e9f1543b71ed7329 (patch) | |
tree | 0bc4788208a585ebd25e36bc929c667d784ce6d0 /src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala | |
parent | b9e933ffca8108ed86c09a298a44636b714f7a19 (diff) | |
download | scala-6d7bcd5818b856d4596b57b7e9f1543b71ed7329.tar.gz scala-6d7bcd5818b856d4596b57b7e9f1543b71ed7329.tar.bz2 scala-6d7bcd5818b856d4596b57b7e9f1543b71ed7329.zip |
Lots of tedious warning and tree printing work.
Fewer deprecation warnings, prettier trees, prettier
symbols, more polished error messages.
Oh the interesting people you meet handling warnings, I
feel sorry for you all that I get to do it all the time.
One of the characters I met invited me into the "Dead Code
Society" and that's what I'm doing on Tuesdays now. No of
course you haven't, it's a SECRET society.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala index ed9fee986f..e37f5784c9 100644 --- a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala +++ b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala @@ -684,7 +684,7 @@ trait ContextErrors { def errMsg = { val location = if (sym.isClassConstructor) owner0 else pre.widen - underlying(sym).fullLocationString + " cannot be accessed in " + + underlyingSymbol(sym).fullLocationString + " cannot be accessed in " + location + explanation } NormalTypeError(tree, errMsg, ErrorKinds.Access) |