Use resolveAnnotations instead of getResolvedAnnotations for typeReference

This commit is contained in:
Natalia Ukhorskaya
2014-10-29 12:47:58 +03:00
parent 3aadd6f880
commit 7bb4e538a6
5 changed files with 23 additions and 18 deletions
@@ -0,0 +1,6 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE, -UNUSED_PARAMETER
class A
fun [<!UNRESOLVED_REFERENCE!>x<!>] A.foo(a: [<!UNRESOLVED_REFERENCE!>x<!>] Int) {
val v: [<!UNRESOLVED_REFERENCE!>x<!>] Int = 1
}
@@ -0,0 +1,10 @@
package
internal fun A.foo(/*0*/ a: kotlin.Int): kotlin.Unit
internal final class A {
public constructor A()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}