K2 Scripting: make FirScript a CFG owner

This commit is contained in:
Ilya Chernikov
2023-11-21 13:45:00 +01:00
committed by Space Team
parent 41ebe498f2
commit b7057eb22f
5 changed files with 14 additions and 7 deletions
@@ -65,7 +65,7 @@ object FirTreeBuilder : AbstractFirTreeBuilder() {
val backingField by element(Declaration, variable, typeParametersOwner, statement)
val constructor by element(Declaration, function, typeParameterRefsOwner, contractDescriptionOwner)
val file by element(Declaration, declaration, controlFlowGraphOwner)
val script by element(Declaration, declaration)
val script by element(Declaration, declaration, controlFlowGraphOwner)
val codeFragment by element(Declaration, declaration)
val packageDirective by element(Other)