FIR: add & use hasExplicitParameterList to anonymous functions
#KT-49134 Fixed
This commit is contained in:
committed by
teamcityserver
parent
9307757bb4
commit
29e4c299e7
@@ -1,8 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
fun foo(g: () -> Int) {}
|
||||
fun foo(f: (Int) -> Int) {}
|
||||
|
||||
fun test() {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!> { -> 42 }
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
fun foo(g: () -> Int) {}
|
||||
|
||||
Reference in New Issue
Block a user