Rewrite slice error removed for LEAKING_THIS #KT-13371 Fixed

Also EA-86478 fixed
(cherry picked from commit 5ac3126)
This commit is contained in:
Mikhail Glukhikh
2016-08-08 14:32:59 +03:00
committed by Mikhail Glukhikh
parent 13e64c18d9
commit 729de536de
5 changed files with 38 additions and 6 deletions
@@ -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)
}
}