diff options
author | Martin Odersky <odersky@gmail.com> | 2014-08-13 11:21:37 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-08-13 11:22:49 +0200 |
commit | deaa0d8bdcd5592e124acfbca1a1414365b667d7 (patch) | |
tree | a6b2bd63b05db7cae6c4b588cf406b9076a1bcb3 /tests/neg | |
parent | ab8ee535fc2f16f3ece55326e58dec6171614829 (diff) | |
download | dotty-deaa0d8bdcd5592e124acfbca1a1414365b667d7.tar.gz dotty-deaa0d8bdcd5592e124acfbca1a1414365b667d7.tar.bz2 dotty-deaa0d8bdcd5592e124acfbca1a1414365b667d7.zip |
Package denotations are never transformed
Packages should always have a single denotation, which is invariant for all transformations.
Package members should always be entered in the first phase, and should never be entered
after a given phase.
This reflects the fact that package members correspond to classfiles. Once you create a classfile, it
stays around and is available from the start of the next run. Also, we need to prevent multiple
denotation versions of packages from hanging on to stale symbols. It would not be enough to replace
a package member by a newly compiled one; if packages had multiple denotations we'd have to do this
for all of them.
Diffstat (limited to 'tests/neg')
0 files changed, 0 insertions, 0 deletions