Endabgabe #20
@ -372,6 +372,11 @@ public class SemanticAnalyzer implements SemanticVisitor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if(toCheck.identifier != null) {
|
||||||
|
toCheck.target = new TargetNode(new MemberAccessNode(false));
|
||||||
|
toCheck.target.memberAccess.identifiers.add(currentClass.identifier);
|
||||||
|
}
|
||||||
|
|
||||||
ReferenceType reference = new ReferenceType(currentClass.identifier);
|
ReferenceType reference = new ReferenceType(currentClass.identifier);
|
||||||
if (!toCheck.chainedMethods.isEmpty()) {
|
if (!toCheck.chainedMethods.isEmpty()) {
|
||||||
for (ChainedMethodNode chainedMethod : toCheck.chainedMethods) {
|
for (ChainedMethodNode chainedMethod : toCheck.chainedMethods) {
|
||||||
@ -388,7 +393,6 @@ public class SemanticAnalyzer implements SemanticVisitor {
|
|||||||
} else {
|
} else {
|
||||||
return new TypeCheckResult(false, null);
|
return new TypeCheckResult(false, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return new TypeCheckResult(false, null);
|
return new TypeCheckResult(false, null);
|
||||||
|
Loading…
Reference in New Issue
Block a user