Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SI-7971 Handle static field initializers correctly #3224

Merged
merged 1 commit into from Dec 19, 2013

Commits on Dec 14, 2013

  1. 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.
    soc committed Dec 14, 2013
    Copy the full SHA
    f7f80e8 View commit details
    Browse the repository at this point in the history