Skip to content

Two-phase class initialization (allow code before super calls) #158

Description

@peq

Phase1: Not possible to use 'this' (no method calls etc.)
super-call
Phase2: Everything allowed

Also look at Declaring and Checking Non-null Types in an Object-Oriented Language
Manuel Fähndrich and K. Rustan M. Leino
, section 3 and section 9

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions