Don't generate backing field for erased inline class

This commit is contained in:
Mikhail Zarechenskiy
2018-02-05 00:04:28 +03:00
parent b08a32af2f
commit 9d05fac771
4 changed files with 42 additions and 0 deletions
@@ -318,6 +318,10 @@ public class PropertyCodegen {
return false;
}
if (kind == OwnerKind.ERASED_INLINE_CLASS) {
return false;
}
if (p instanceof KtProperty && ((KtProperty) p).hasDelegate()) {
generatePropertyDelegateAccess((KtProperty) p, descriptor, delegateAnnotations);
}