Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/kt1860-negative.jet
T
2012-04-24 21:53:23 +04:00

9 lines
284 B
Plaintext

fun foo(<!UNRESOLVED_REFERENCE!>varargs<!> <!UNUSED_PARAMETER!>f<!> : Int) {}
var bar : Int = 1
set(<!UNRESOLVED_REFERENCE!>varargs<!> v) {}
val x : (Int) -> Int = {([<!UNRESOLVED_REFERENCE!>varargs<!>] x : Int) -> x}
class Hello(<!UNRESOLVED_REFERENCE!>varargs<!> args: Any) {
}