[SamWithReceiver] Fix test configuration and testdata
This commit is contained in:
committed by
Space Team
parent
ebc879ed1e
commit
2610ad94e0
@@ -0,0 +1,18 @@
|
||||
// FILE: Sam.java
|
||||
public interface Sam {
|
||||
String run(String a, String b);
|
||||
}
|
||||
|
||||
// FILE: test.kt
|
||||
fun test() {
|
||||
Sam { a, b ->
|
||||
System.out.println(a)
|
||||
""
|
||||
}
|
||||
|
||||
Sam <!ARGUMENT_TYPE_MISMATCH!>{ b ->
|
||||
val a = this<!UNRESOLVED_LABEL!>@Sam<!>
|
||||
System.out.<!OVERLOAD_RESOLUTION_AMBIGUITY!>println<!>(a)
|
||||
""
|
||||
}<!>
|
||||
}
|
||||
Reference in New Issue
Block a user