more diagnostics for EA-83829 - assert: AstPath$ChildPath.getNode

This commit is contained in:
peter
2016-06-14 16:16:57 +02:00
parent 10c0c11281
commit f7991d2f37
@@ -133,7 +133,7 @@ public abstract class AstPath extends SubstrateRef {
CompositeElement parentNode = myParent.getNode();
parentNode.getFirstChildNode(); // expand chameleons, populate PATH_CHILDREN array
CompositeElement[] children = parentNode.getUserData(PATH_CHILDREN);
assert children != null;
assert children != null : parentNode + " of " + parentNode.getClass();
return children[myIndex];
}