From 758fdf5a3d6508fdd826476ac638614f9aac394e Mon Sep 17 00:00:00 2001 From: bd-912 Date: Fri, 10 May 2024 13:37:18 -0600 Subject: Fix introduced error with ClassInstance.equals double usage --- heat/TypeBundle.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'heat/TypeBundle.java') 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() { -- cgit v1.2.3