summaryrefslogtreecommitdiff
path: root/heat/TypeBundle.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-05-10 13:37:18 -0600
committerbd-912 <bdunahu@colostate.edu>2024-05-10 13:37:18 -0600
commit758fdf5a3d6508fdd826476ac638614f9aac394e (patch)
tree7420bfea4cbc9eb287133c6a6a17b08909e61876 /heat/TypeBundle.java
parent4b50a7a2b41373cc9b1644e584886f22da312848 (diff)
Fix introduced error with ClassInstance.equals double usage
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() {