Files
kotlin-fork/js/js.translator/testData/box/expression/dollarParameter/dollarParameter.kt
T
2018-04-19 13:17:28 +03:00

13 lines
251 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1113
package foo
fun MyController(`$scope`: String): String {
return "Hello " + `$scope` + "!"
}
fun box(): String {
assertEquals("Hello world!", MyController("world"))
return "OK"
}