KT-1860 Resolve annotations of function parameters
#KT-1860 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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) {
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
annotation class test {}
|
||||
|
||||
fun foo(test <!UNUSED_PARAMETER!>f<!> : Int) {}
|
||||
|
||||
var bar : Int = 1
|
||||
set(test v) {}
|
||||
|
||||
val x : (Int) -> Int = {([test] x : Int) -> x}
|
||||
|
||||
class Hello(test args: Any) {
|
||||
}
|
||||
Reference in New Issue
Block a user