WIP: Feature/better placeholders
Compare changes
@@ -149,7 +149,9 @@ aspect NameResolutionHelper {
@@ -172,7 +174,7 @@ aspect NameResolutionHelper {
@@ -182,24 +184,24 @@ aspect NameResolutionHelper {
resolves #12 (closed)
Currently, all nonterminal classes get accompanying placeholder classes prefixed with unresolved. There are several problems with that.
Therefore, two improvements are required.
syn boolean TypeDecl.isReferenceTarget()
.syn boolean TypeDecl.instantiable()
.These points can be checked easily. However, there is another problem. Relation endpoints can refer to types that have subtypes. However, the placeholder must still have the type of the supertype. Currently, an arbitrary instantiable subtype is selected.