SSEHUB / EASyProducer

EASy-Producer - A Product Line Engineering Toolset
Apache License 2.0
10 stars 2 forks source link

Compound used as annotation is will not be initialized #40

Closed Elscha closed 8 years ago

Elscha commented 8 years ago

If a compound is used as annotation together with a default value, EmptyInitializer will be used instead of the correct value instance. For instance:


project Example {

    version v0;
    compound Developer {
      String firstName;
      String lastName;
    }

    Integer intA;
    annotate Developer developer = {firstName = "John", lastName = "Doe"} to intA;
}

Will lead to (annotation for intA): untitled