Do not generate CHECKCAST after 'null' literal
#KT-15411 Fixed
This commit is contained in:
@@ -810,7 +810,9 @@ public abstract class StackValue {
|
||||
v.aconst(value);
|
||||
}
|
||||
|
||||
coerceTo(type, v);
|
||||
if (value != null || AsmUtil.isPrimitive(type)) {
|
||||
coerceTo(type, v);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user