iets3.opensource icon indicating copy to clipboard operation
iets3.opensource copied to clipboard

EnumLiterals typesystem does not recalculate types

Open lhartl opened this issue 6 years ago • 1 comments

Functioncalls are used in the inferenceRule of EnumLiterals. Therefore types are not recalculated when changing the EnumType. Introducing a dependency (there is some statement in the typesystem for this) should solve this.

lhartl avatar Dec 17 '19 13:12 lhartl

The functional call just asks for the parent node (EnumDeclaration). So I could add this statement to the start of the inference rule: addDependency(el.parent); Before I add such as statement, I want to see an example when the types are not recalculated.

alexanderpann avatar Sep 14 '21 09:09 alexanderpann