EXTERNAL_DECLARATION_CANNOT_BE_ABSTRACT is now reported on property if accessor is external #KT-9297 Fixed

Also fixes EA-89227
This commit is contained in:
Mikhail Glukhikh
2016-10-25 16:48:38 +03:00
parent e053b77ede
commit 2130164d9b
4 changed files with 38 additions and 1 deletions
@@ -0,0 +1,9 @@
abstract class A {
<!EXTERNAL_DECLARATION_CANNOT_BE_ABSTRACT!>abstract<!> val x : Int
external get
}
interface B {
val x: Int
<!EXTERNAL_DECLARATION_IN_INTERFACE!>external get<!>
}