LightTreeUtil.toBuffer: don't dispose children to avoid losing parsed chameleons

current usages are all in the indexing context, where the light AST is shared between several indexers
This commit is contained in:
peter
2016-11-30 14:20:47 +01:00
parent 5b19c19085
commit e6f4a1f163
@@ -146,7 +146,6 @@ public class LightTreeUtil {
for (int i = 0, size = children.size(); i < size; ++i) {
toBuffer(tree, children.get(i), buffer, skipTypes);
}
tree.disposeChildren(children);
}
@Nullable