diff options
author | Martin Odersky <odersky@gmail.com> | 2014-08-09 18:12:40 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-08-10 18:04:09 +0200 |
commit | 96cd350429582ab22605064900f5ea6913aba80e (patch) | |
tree | 2f9efadfd92b146a23a1d8def34ed718a5752fe0 /tests/disabled/not-representable | |
parent | 57c6c85cbc953a3489ee8d16bb5b7be862183924 (diff) | |
download | dotty-96cd350429582ab22605064900f5ea6913aba80e.tar.gz dotty-96cd350429582ab22605064900f5ea6913aba80e.tar.bz2 dotty-96cd350429582ab22605064900f5ea6913aba80e.zip |
Module vals are lazy
Should have lazy flag set, otherwise forward reference checking would
fail for modules.
Note: LazyVals needed to be disabled because it also should transform
module vals, but didn't do this so far because it only tested the Lazy flag.
It turned out the module val transformation exposed some bugs in lazy vals
in that LazyVals creates symbols as a side effect and enters them into scopes.
Such mutations are allowed onyl in very specific cases (essentially only for local
throw-away scopes).
Diffstat (limited to 'tests/disabled/not-representable')
0 files changed, 0 insertions, 0 deletions