Closed Elscha closed 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:
EmptyInitializer
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):
If a compound is used as annotation together with a default value,
EmptyInitializer
will be used instead of the correct value instance. For instance:Will lead to (annotation for intA):