Files
kotlin-fork/compiler/testData/psi/Labels.kt
T
Denis Zharkov 507eefcaa5 Implement new parsing rules for labels
See changes in expressions.grm
2015-04-29 14:03:10 +03:00

44 lines
431 B
Kotlin
Vendored

fun foo() {
return
return 1
return (a@ 1)
return@
return@ 1
return@ (@ 1)
return@ @ 1
return@a
return@a 1
return@a (a@ 1)
return@a a@ 1
return@@
return@@ 1
break
break@
break@a
continue
continue@
continue@a
a.filter f@{
if (1) return
return@f true
}
a.filter @{
if (1) return
return@ true
}
this
this@
this@a
super<A>
super<A>@
super<A>@a
}