KtBlockExpression as lazy reparseable node (KT-13841)
Changed KtBlockExpression to support LazyReparseable behaviour Added LazyKtBlockExpressionTest Added new BlockWrapper delegations
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ class CodeFragmentAnalyzer(
|
||||
}
|
||||
}
|
||||
is KtSecondaryConstructor -> {
|
||||
val expression = context.bodyExpression ?: context.getDelegationCall().calleeExpression
|
||||
val expression = (context.bodyExpression ?: context.getDelegationCall().calleeExpression) as? KtExpression
|
||||
if (expression != null) {
|
||||
bindingContext = resolutionFactory(expression)
|
||||
scope = bindingContext[BindingContext.LEXICAL_SCOPE, expression]
|
||||
|
||||
Reference in New Issue
Block a user