scala/scala — pull request #3224 by soc (2013-12-04 16:56:38+00:00)
Title: SI-7971 Handle static field initializers correctly

Before this fix, static fields where erroneuosly 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 “ def init” in Scala,
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.