aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/printing/RefinedPrinter.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-07-10 14:48:42 +0200
committerMartin Odersky <odersky@gmail.com>2014-07-17 11:02:01 +0200
commit34202eb4e13921190bf4992ab33d9d69975f4940 (patch)
treef601215270c4fb45e398f5ac4465142779eee007 /src/dotty/tools/dotc/printing/RefinedPrinter.scala
parentcd82c859bb2fe05de257cbc81e97bedd2bbf2a4a (diff)
downloaddotty-34202eb4e13921190bf4992ab33d9d69975f4940.tar.gz
dotty-34202eb4e13921190bf4992ab33d9d69975f4940.tar.bz2
dotty-34202eb4e13921190bf4992ab33d9d69975f4940.zip
Avoid some classes of StaleSymbol errors
If a symbol is defined in phases M..N, and that symbol is then accessed in a phase before M, but in a new run, we should not issue a stale symbol error (after all, the symbol is not defined yet). Instead we now return a NoDenotation.
Diffstat (limited to 'src/dotty/tools/dotc/printing/RefinedPrinter.scala')
0 files changed, 0 insertions, 0 deletions