Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Setting late attribute's value through non type-safe metamodel causes NPE #7444

Open
fill0llif opened this issue Jan 23, 2019 · 0 comments
Open

Comments

@fill0llif
Copy link

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>.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant