New J2K: implement mutability inference in post-processing
#KT-24293 fixed #KT-19603 fixed
This commit is contained in:
+1
-1
@@ -7,4 +7,4 @@ fun test() {
|
||||
|
||||
//T0 <: T1 due to 'INITIALIZER'
|
||||
//T2 <: T4 due to 'INITIALIZER'
|
||||
//T3 <: T1 due to 'ASSIGNMENT'
|
||||
//T1 <: T3 due to 'ASSIGNMENT'
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
val x: /*T2@*/List</*T1@*/Int> = ArrayList</*T0@*/Int>()/*ArrayList<T0@Int>*/
|
||||
}
|
||||
|
||||
//T1 := T0 due to 'INITIALIZER'
|
||||
Reference in New Issue
Block a user