JVM: remove unnecessary check in StrictBasicValue.equals

Types are already checked for equality several lines below.
This commit is contained in:
Alexander Udalov
2023-08-25 11:51:35 +02:00
committed by Space Team
parent 12bbdebed2
commit dc2deea04c
@@ -53,7 +53,6 @@ open class StrictBasicValue(type: Type?) : BasicValue(type) {
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other == null || other::class.java != this::class.java) return false
if (!super.equals(other)) return false
other as StrictBasicValue