Fix "unexpected error type" exception in initializer -> getter
So #KT-19674 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
a9ece23e63
commit
13fc526695
@@ -0,0 +1,8 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
class Some
|
||||
|
||||
class Other {
|
||||
val x = Some<caret>
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
class Some
|
||||
|
||||
class Other {
|
||||
val x
|
||||
get() = Some
|
||||
}
|
||||
Reference in New Issue
Block a user