Fix outer class mapping for closures in inline class

#KT-27030
 #KT-27033
This commit is contained in:
Dmitry Petrov
2018-09-21 16:21:18 +03:00
parent 26602c8443
commit 20d7210239
8 changed files with 70 additions and 1 deletions
@@ -406,7 +406,7 @@ public abstract class MemberCodegen<T extends KtPureElement/* TODO: & KtDeclarat
return typeMapper.mapDefaultImpls(classDescriptor);
}
}
return typeMapper.mapType(classDescriptor);
return typeMapper.mapClass(classDescriptor);
}
else if (outermost instanceof MultifileClassFacadeContext || outermost instanceof DelegatingToPartContext) {
Type implementationOwnerType = CodegenContextUtil.getImplementationOwnerClassType(outermost);