forked from i21017/JavaCompilerCore
Compare commits
1 Commits
feat/unify
...
feat/unify
Author | SHA1 | Date | |
---|---|---|---|
|
79658c181d |
@@ -106,7 +106,11 @@ public class UnifyPair implements IConstraintElement, ISerializableData {
|
|||||||
|
|
||||||
public SourceLoc getLocation() {
|
public SourceLoc getLocation() {
|
||||||
if (location != null) return location;
|
if (location != null) return location;
|
||||||
else if (basePair != null) return basePair.getLocation();
|
else if (basePair != null) {
|
||||||
|
SourceLoc baseLocation = basePair.getLocation();
|
||||||
|
location = baseLocation;
|
||||||
|
return baseLocation;
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user