diff options
author | Erik Osheim <d_m@plastic-idolatry.com> | 2012-05-14 00:13:16 -0400 |
---|---|---|
committer | Erik Osheim <d_m@plastic-idolatry.com> | 2012-05-14 00:13:16 -0400 |
commit | f7d5f45aa7d5b1977043aa169bf2cdb42f07a002 (patch) | |
tree | 82445a0574b8c233cf6b7f491ce5ca8eb88b3fad /test/files | |
parent | 32a2068e3cc40ccab32f3c207cff73cfb6cc2ef5 (diff) | |
download | scala-f7d5f45aa7d5b1977043aa169bf2cdb42f07a002.tar.gz scala-f7d5f45aa7d5b1977043aa169bf2cdb42f07a002.tar.bz2 scala-f7d5f45aa7d5b1977043aa169bf2cdb42f07a002.zip |
Specialize lazy vals (closes SI-5552)
Previously, specialized lazy vals would not work at all when used in
specialized classes, and would just return an uninitialized value.
After this patch, they work in the same way as other specialized fields
do (i.e. a new specialized field is created, and the specialized class
uses that instead of the base class' field).
Note that there are still known problems with specialized lazy vals
(for instance SI-4717) but it seemed to me that this was better than
nothing.
Diffstat (limited to 'test/files')
0 files changed, 0 insertions, 0 deletions