aboutsummaryrefslogtreecommitdiff
path: root/project/Build.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-08-29 11:18:59 +0200
committerMartin Odersky <odersky@gmail.com>2014-08-29 11:18:59 +0200
commit8b9bdfe5f0c8c084b2db90ddcc0b5bbc25347034 (patch)
tree6454ba46dd8c88a340509459a67ff35272b2ac72 /project/Build.scala
parent3ea2fe9ab1abccc550f21ed07209c5b55cf1a867 (diff)
downloaddotty-8b9bdfe5f0c8c084b2db90ddcc0b5bbc25347034.tar.gz
dotty-8b9bdfe5f0c8c084b2db90ddcc0b5bbc25347034.tar.bz2
dotty-8b9bdfe5f0c8c084b2db90ddcc0b5bbc25347034.zip
Avoid cyclic reference errors in ShowScala
This is done by predicating some shortcuts on tp.symbol.isStatic where tp is a NamedType with the condition tp.denotationIsCurrent, i.e. we avoid forcing the denotation. This safe because the branches taken on isStatic are optimizations. This commit contains the minimum set of changes to make showScala pass.
Diffstat (limited to 'project/Build.scala')
0 files changed, 0 insertions, 0 deletions