0aca3a3737
See previous commits for details
11 lines
451 B
Plaintext
Vendored
11 lines
451 B
Plaintext
Vendored
FILE: ambiguityWhenNoApplicableCallableReferenceCandidate.kt
|
|
public final fun foo(x: R|kotlin/Int|): R|kotlin/Unit| {
|
|
}
|
|
public final fun foo(y: R|kotlin/String|): R|kotlin/Unit| {
|
|
}
|
|
public final fun <T> bar(f: R|(T) -> kotlin/Unit|): R|kotlin/Unit| {
|
|
}
|
|
public final fun test(): R|kotlin/Unit| {
|
|
<CS errors: /bar>#<R|ERROR CLASS: Cannot infer argument for type parameter T|>(::<Ambiguity: foo, [/foo, /foo]>#)
|
|
}
|