[SAM with receiver] Add implementation for K2
This commit is contained in:
committed by
teamcity
parent
49c836e706
commit
65ac82ee46
+2
-4
@@ -1,6 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
|
||||
// FILE: Sam.java
|
||||
// FILE: SamConstructor.kt
|
||||
public interface Sam {
|
||||
void run(String a);
|
||||
}
|
||||
@@ -13,6 +11,6 @@ fun test() {
|
||||
|
||||
Sam {
|
||||
val a = <!NO_THIS!>this<!>
|
||||
System.out.<!OVERLOAD_RESOLUTION_AMBIGUITY!>println<!>(<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>a<!>)
|
||||
System.out.<!OVERLOAD_RESOLUTION_AMBIGUITY!>println<!>(a)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user