Scripts: synchronize calculation of parent in LexicalScopeWrapper to fix #EA-803423
This commit is contained in:
committed by
Space Team
parent
57b32b6f69
commit
6ddf32d013
@@ -278,7 +278,7 @@ private class LexicalScopeWrapper(
|
||||
}
|
||||
}
|
||||
|
||||
override val parent: HierarchicalScope by lazy(LazyThreadSafetyMode.NONE) {
|
||||
override val parent: HierarchicalScope by lazy(LazyThreadSafetyMode.SYNCHRONIZED) {
|
||||
assert(delegate !is ImportingScope)
|
||||
|
||||
val parent = delegate.parent
|
||||
|
||||
Reference in New Issue
Block a user