Fixed Target = null
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
d835a98e6f
commit
7e66b5b8e3
@ -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