Files
kotlin/compiler/testData/cli/js/diagnosticForUnhandledElements.kt

13 lines
261 B
Kotlin
Vendored

package foo
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.EXPRESSION)
annotation class fancy
@fancy
class Foo {
@fancy
fun baz(@fancy foo : Int) : Int {
return (@fancy 1)
}
}