Open fill0llif opened 5 years ago
Setting late attribute's value through non type-safe metamodel causes NPE.
shared class Type() { shared late String attr; } shared void run() { `value Type.attr`.memberSet(Type(), "test"); }
As shown also in #7443, it seems 'Type.attr' is actually an Attribute<Type,String,Nothing>, but it should be an Attribute<Type,String,String>.
'Type.attr'
Attribute<Type,String,Nothing>
Attribute<Type,String,String>
Setting late attribute's value through non type-safe metamodel causes NPE.
As shown also in #7443, it seems
'Type.attr'
is actually anAttribute<Type,String,Nothing>
, but it should be anAttribute<Type,String,String>
.