Files
2023-02-06 08:09:56 +00:00

11 lines
460 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| {
R|/bar<CS errors: /bar>#|<<ERROR TYPE REF: Cannot infer argument for type parameter T>>(::<Ambiguity: foo, [/foo, /foo]>#)
}