Fix diagnostic for uninitialized extension property without accessors

#KT-8612 Fixed
This commit is contained in:
Dmitry Petrov
2017-05-24 17:00:54 +03:00
parent 902d3af280
commit d850f01c39
8 changed files with 83 additions and 10 deletions
@@ -36,7 +36,7 @@ fun test() {
val Int.abs : Int
get() = if (this > 0) this else -this;
<!MUST_BE_INITIALIZED!>val <T> T.foo : T<!>
<!EXTENSION_PROPERTY_MUST_HAVE_ACCESSORS_OR_BE_ABSTRACT!>val <T> T.foo : T<!>
fun Int.foo() = this