mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
get rid of descriptors in Bridge and Enum lowerings Replace property accessors function type with IrSimpleFunction because they couldn't be constructors get rid of descriptors in Callable reference lowering refactored descriptor factory and inner class lowering Add isReified property to IrTypeParameter declaration keep getting rid of descriptors Get rid of descriptors in Shared Variable Manager LocalDeclarationLowering also uses no descriptors Fix psi2ir Fix nested classes names Fix outer reference in inner classes Fix name generator get rid of descriptors in coroutines - something is working Fix name generator Fix unbound symbols in JVM BE Rename DeclarationFactory members
16 lines
220 B
Kotlin
Vendored
16 lines
220 B
Kotlin
Vendored
class Test {
|
|
|
|
val property:Int
|
|
init {
|
|
fun local():Int {
|
|
return 10;
|
|
}
|
|
property = local();
|
|
}
|
|
|
|
}
|
|
|
|
fun box(): String {
|
|
return if (Test().property == 10) "OK" else "fail"
|
|
}
|