Rewrite slice error removed for LEAKING_THIS #KT-13371 Fixed
Also EA-86478 fixed (cherry picked from commit 5ac3126)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
13e64c18d9
commit
729de536de
+12
@@ -0,0 +1,12 @@
|
||||
fun use(x: Any?) = x
|
||||
|
||||
class Eap {
|
||||
private val foo = <!DEBUG_INFO_LEAKING_THIS!>toString<!>()
|
||||
|
||||
constructor(foo: Int) {
|
||||
use(foo)
|
||||
}
|
||||
constructor(foo: String) {
|
||||
use(foo)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user