Files
kotlin-fork/js/js.translator/testData/box/expression/dollarParameter/dollarParameter.kt
T
2018-09-12 09:49:25 +03:00

12 lines
226 B
Kotlin
Vendored

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