diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-05-10 13:37:18 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-05-10 13:37:18 -0600 |
commit | 758fdf5a3d6508fdd826476ac638614f9aac394e (patch) | |
tree | 7420bfea4cbc9eb287133c6a6a17b08909e61876 /heat | |
parent | 4b50a7a2b41373cc9b1644e584886f22da312848 (diff) |
Fix introduced error with ClassInstance.equals double usage
Diffstat (limited to 'heat')
-rw-r--r-- | heat/TypeBundle.java | 4 |
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() { |