Temp workaround: force out-of-block modification for properties with nullable types
Initializers for properties with nullable types are analyzed with binding context common for all declarations. This can cause invalid elements are left in the cache guarded with out-of-block modification tracker. This workaround forces increment for such cases.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// FALSE
|
||||
// TRUE
|
||||
class Test {
|
||||
val a : () -> Int = { <caret>pri }
|
||||
}
|
||||
Reference in New Issue
Block a user