[SamWithReceiver] Fix test configuration and testdata
This commit is contained in:
committed by
Space Team
parent
ebc879ed1e
commit
2610ad94e0
@@ -1,4 +1,4 @@
|
||||
// FILE: SamConstructor.kt
|
||||
// FILE: Sam.java
|
||||
@SamWithReceiver
|
||||
public interface Sam {
|
||||
String run(String a, String b);
|
||||
@@ -8,7 +8,7 @@ public interface Sam {
|
||||
annotation class SamWithReceiver
|
||||
|
||||
fun test() {
|
||||
Sam <!ARGUMENT_TYPE_MISMATCH!>{ a, <!CANNOT_INFER_PARAMETER_TYPE!>b<!> ->
|
||||
Sam <!TYPE_MISMATCH!>{ <!EXPECTED_PARAMETERS_NUMBER_MISMATCH!>a, <!CANNOT_INFER_PARAMETER_TYPE!>b<!><!> ->
|
||||
System.out.println(a)
|
||||
""
|
||||
}<!>
|
||||
|
||||
Reference in New Issue
Block a user