FIR: Force processing postponed arguments nested in lambdas
See the call-site of processAllContainingCallCandidates in getOrderedNotAnalyzedPostponedArguments
This commit is contained in:
Vendored
+2
-2
@@ -7,7 +7,7 @@ fun test(i: Int) {
|
||||
createSample(i) { it.toString() }
|
||||
}
|
||||
|
||||
<!INAPPLICABLE_CANDIDATE!>takeSample<!>(bad)
|
||||
takeSample(bad)
|
||||
}
|
||||
|
||||
fun <T> myLazyDelegate(i: () -> T): LazyDelegate<T> = LazyDelegate(i())
|
||||
@@ -19,4 +19,4 @@ class LazyDelegate<T>(val v: T) {
|
||||
class Sample<K, V>
|
||||
|
||||
fun takeSample(g: Sample<Int, String>) {}
|
||||
fun <T, S> createSample(i: T, a: (T) -> S): Sample<T, S> = TODO()
|
||||
fun <T, S> createSample(i: T, a: (T) -> S): Sample<T, S> = TODO()
|
||||
|
||||
Reference in New Issue
Block a user