KT-2752: fix name clash diagnostic for case of extension property. Add more tests for the diagnostic

This commit is contained in:
Alexey Andreev
2016-05-27 17:04:34 +03:00
parent 8f829557c8
commit 8738458c34
9 changed files with 91 additions and 9 deletions
@@ -0,0 +1,8 @@
package foo
class A
<!JS_NAME_CLASH!>fun A.get_bar() = 23<!>
val A.bar: Int
<!JS_NAME_CLASH!>get() = 42<!>