KT-2752: fix old tests, add test for clashing between class and its companion object

This commit is contained in:
Alexey Andreev
2016-05-31 14:47:27 +03:00
parent 50dd1e31c3
commit 7a7a6914a6
5 changed files with 27 additions and 4 deletions
@@ -14,7 +14,7 @@ class A {
fun Int.invoke(a: String, b: Int)<!> = "OK"
<!WRONG_ANNOTATION_TARGET!>@nativeInvoke<!>
val foo = 0
val baz = 0
<!WRONG_ANNOTATION_TARGET!>@nativeInvoke<!>
object Obj {}