Support unboxing of inline classes after assertion operator

This commit is contained in:
Mikhail Zarechenskiy
2018-02-06 18:30:26 +03:00
parent 30c79ffadc
commit 9f24bbd980
4 changed files with 90 additions and 1 deletions
@@ -3557,7 +3557,7 @@ public class ExpressionCodegen extends KtVisitor<StackValue, StackValue> impleme
StackValue base = genQualified(receiver, expression.getBaseExpression());
if (isPrimitive(base.type)) return base;
return StackValue.operation(base.type, v -> {
return StackValue.operation(base.type, base.kotlinType, v -> {
base.put(base.type, base.kotlinType, v);
v.dup();
Label ok = new Label();