summaryrefslogtreecommitdiff
path: root/heat/TypeBundle.java
diff options
context:
space:
mode:
Diffstat (limited to 'heat/TypeBundle.java')
-rw-r--r--heat/TypeBundle.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/heat/TypeBundle.java b/heat/TypeBundle.java
index 1867e0d..b484cc4 100644
--- a/heat/TypeBundle.java
+++ b/heat/TypeBundle.java
@@ -29,8 +29,8 @@ class TypeBundle {
return (other instanceof TypeBundle) &&
(tb = (TypeBundle) other).type == this.type &&
(tb.instance == this.instance ||
- (tb.instance != null && tb.instance.getExtend() != null &&
- tb.instance.getExtend().equals(this.instance)));
+ (tb.instance != null &&
+ tb.instance.equalsOnExtend(this.instance)));
}
public boolean isClass() {