Kapt: Fix anonymous type transformer, do not use ClassDescriptor.defaultType as a replacement (KT-27119)

This commit is contained in:
Yan Zhulanow
2018-09-28 22:18:03 +03:00
parent 39863edd0e
commit ac1dd59472
8 changed files with 181 additions and 24 deletions
@@ -0,0 +1,11 @@
interface Named {
val name: String?
}
class Product2 : Named {
override var name: String? = null
constructor(otherName: String) {
this.name = otherName
}
}