Fix diagnostic for uninitialized extension property without accessors
#KT-8612 Fixed
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user