Commit 975731bf authored by Miklos Magyari's avatar Miklos Magyari
Browse files

OOP: fixed possible null exception for class casting checks

Signed-off-by: Miklos Magyari's avatarMiklos Magyari <>
parent 9732a21a
......@@ -591,6 +591,11 @@ public final class Class_Type extends Type implements ITypeWithComponents {
if (related.isObject()) {
// 'Identical' is handled by the previous `if` block
return ClassRelation.Related;
if (this.equals(related)) {
return ClassRelation.Identical;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment