[SAM with receiver] Add implementation for K2

This commit is contained in:
Dmitriy Novozhilov
2022-06-22 15:24:15 +03:00
committed by teamcity
parent 49c836e706
commit 65ac82ee46
20 changed files with 306 additions and 39 deletions
@@ -8,7 +8,7 @@ import java.lang.annotation.RetentionPolicy;
public @interface SamWithReceiver1 {
}
// FILE: Sam.java
// FILE: SamConstructor.kt
@SamWithReceiver1
public interface Sam {
void run(String a, String b);