Make property initializer modification is OutOfBlock change

Fixed #KT-38762
This commit is contained in:
Igor Yakovlev
2020-06-26 22:27:57 +03:00
parent 507a718632
commit a32f901ab9
4 changed files with 34 additions and 23 deletions
@@ -1,5 +1,6 @@
// OUT_OF_CODE_BLOCK: FALSE
// OUT_OF_CODE_BLOCK: TRUE
// ERROR: Unresolved reference: apri
// SKIP_ANALYZE_CHECK
class Test {
val a : () -> Int = { <caret>pri }