FIR: fix a bunch of issues after DiagnosticsReporter refactoring related to reporting diagnostic on null source
This commit is contained in:
committed by
Space Team
parent
a7edf5b83e
commit
69f2e8826a
+1
-1
@@ -20,7 +20,7 @@ fun foo(a: () -> Unit, b: () -> Unit, c: () -> Unit, d: () -> Unit) {
|
||||
}
|
||||
|
||||
override fun run() {
|
||||
<!LEAKED_IN_PLACE_LAMBDA!>c()<!>
|
||||
<!LEAKED_IN_PLACE_LAMBDA!>c<!>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -17,7 +17,7 @@ fun foo(a: () -> Unit, b: () -> Unit, c: () -> Unit, d: () -> Unit, e: () -> Uni
|
||||
val leaked: Any
|
||||
|
||||
constructor() {
|
||||
<!LEAKED_IN_PLACE_LAMBDA!>b()<!>
|
||||
<!LEAKED_IN_PLACE_LAMBDA!>b<!>()
|
||||
}
|
||||
|
||||
init {
|
||||
@@ -25,7 +25,7 @@ fun foo(a: () -> Unit, b: () -> Unit, c: () -> Unit, d: () -> Unit, e: () -> Uni
|
||||
}
|
||||
|
||||
fun run() {
|
||||
<!LEAKED_IN_PLACE_LAMBDA!>d()<!>
|
||||
<!LEAKED_IN_PLACE_LAMBDA!>d<!>()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ fun foo(a: () -> Unit, b: () -> Unit) {
|
||||
|
||||
fun localFun() {
|
||||
<!LEAKED_IN_PLACE_LAMBDA!>a<!>.invoke()
|
||||
<!LEAKED_IN_PLACE_LAMBDA!>a()<!>
|
||||
<!LEAKED_IN_PLACE_LAMBDA!>a<!>()
|
||||
}
|
||||
|
||||
localFun()
|
||||
|
||||
Reference in New Issue
Block a user