diff --git a/src/main/java/dk/camelot64/kickc/model/symbols/Procedure.java b/src/main/java/dk/camelot64/kickc/model/symbols/Procedure.java index a154a2ca0..40512af6b 100644 --- a/src/main/java/dk/camelot64/kickc/model/symbols/Procedure.java +++ b/src/main/java/dk/camelot64/kickc/model/symbols/Procedure.java @@ -337,7 +337,7 @@ public class Procedure extends Scope { Procedure procedure = (Procedure) o; return variableLengthParameterList == procedure.variableLengthParameterList && declaredInline == procedure.declaredInline && - isDeclaredBanked() == procedure.isDeclaredBanked() && + Objects.equals(bankLocation, procedure.bankLocation) && declaredIntrinsic == procedure.declaredIntrinsic && isConstructor == procedure.isConstructor && Objects.equals(procedureType, procedure.procedureType) &&