added a test case for KT-2515
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package foo
|
||||
|
||||
class Foo(val postfix: String) {
|
||||
public fun invoke(text: String): String {
|
||||
return text + postfix
|
||||
}
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
val a = Foo(" world!")
|
||||
return a("hello")
|
||||
}
|
||||
Reference in New Issue
Block a user