Skip to content
Snippets Groups Projects
Commit 746e77a6 authored by Emma Söderberg's avatar Emma Söderberg
Browse files

Removes enter/exit incremental construction state for AST edit operation.

The construction state should only be entered in the constructor, other
AST modification methods should trigger notification.
parent 513c4e7d
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,6 @@ $endif ...@@ -166,7 +166,6 @@ $endif
*/ */
$Modifier void $Host.set$Name($Type node, int i) { $Modifier void $Host.set$Name($Type node, int i) {
$ListType list = get$(Name)List(); $ListType list = get$(Name)List();
$include(State.incHookConstructionStart)
$if(EmptyContainerSingletons) $if(EmptyContainerSingletons)
if (list == $List.EMPTY) { if (list == $List.EMPTY) {
setChild(new $List(node), $Index); setChild(new $List(node), $Index);
...@@ -176,7 +175,6 @@ $if(EmptyContainerSingletons) ...@@ -176,7 +175,6 @@ $if(EmptyContainerSingletons)
$else $else
list.setChild(node, i); list.setChild(node, i);
$endif $endif
$include(State.incHookConstructionEnd)
} }
$if(#isNTA) $if(#isNTA)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment