KT-1759 str.plus(str)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class Greeter(var name : String) {
|
||||
fun greet() {
|
||||
name = name.plus("")
|
||||
System.out?.println("Hello, $name");
|
||||
}
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
Greeter("OK").greet()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user