Fix "unexpected error type" exception in initializer -> getter

So #KT-19674 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-09-12 18:27:02 +03:00
committed by Mikhail Glukhikh
parent a9ece23e63
commit 13fc526695
4 changed files with 27 additions and 1 deletions
@@ -0,0 +1,8 @@
// SKIP_ERRORS_BEFORE
// SKIP_ERRORS_AFTER
class Some
class Other {
val x = Some<caret>
}
@@ -0,0 +1,9 @@
// SKIP_ERRORS_BEFORE
// SKIP_ERRORS_AFTER
class Some
class Other {
val x
get() = Some
}