summaryrefslogtreecommitdiff
path: root/test/files/run/macro-bodyexpandstoimpl.check
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2013-11-23 22:45:40 +0100
committerSimon Ochsenreither <simon@ochsenreither.de>2013-12-14 02:29:10 +0100
commitf7f80e8b27c9255590ef8598c97601957a962adf (patch)
tree297deee2b08e22c3dba0a52a25f7ea2f663413d2 /test/files/run/macro-bodyexpandstoimpl.check
parent6c63ab153651f7946ece5740d52e0f2b701e349d (diff)
downloadscala-f7f80e8b27c9255590ef8598c97601957a962adf.tar.gz
scala-f7f80e8b27c9255590ef8598c97601957a962adf.tar.bz2
scala-f7f80e8b27c9255590ef8598c97601957a962adf.zip
SI-7971 Handle static field initializers correctly
Before this fix, static fields where erroneously treated like instance fields and the initialization was moved into the constructor. With this fix, the static initializer statements go into the static initializer of the class (called “<STATIC> def init” in Scala, <clinit> in Java). The statements are added to an existing static initializer method or, if no such method exists, a new static initializer method is created and added to the class.
Diffstat (limited to 'test/files/run/macro-bodyexpandstoimpl.check')
0 files changed, 0 insertions, 0 deletions