mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user