Merge boxWithJava testData into box, delete BoxWithJava test
This commit is contained in:
committed by
Alexander Udalov
parent
16a0ddd2fb
commit
f8dfaf4599
@@ -0,0 +1,17 @@
|
||||
// FILE: JavaClass.java
|
||||
|
||||
public class JavaClass {
|
||||
public String getO() {
|
||||
return "O";
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
// KT-9522 Allow invoke convention for synthetic property
|
||||
|
||||
operator fun String.invoke() = this + "K"
|
||||
|
||||
fun box(): String {
|
||||
return JavaClass().o();
|
||||
}
|
||||
Reference in New Issue
Block a user