We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be41b0 commit b943cfeCopy full SHA for b943cfe
core/src/main/java/gov/nist/secauto/metaschema/core/metapath/DynamicContext.java
@@ -326,7 +326,9 @@ public void pushExecutionStack(@NonNull IExpression expression) {
326
*/
327
public void popExecutionStack(@NonNull IExpression expression) {
328
IExpression popped = this.sharedState.executionStack.pop();
329
- assert expression.equals(popped);
+ if (!expression.equals(popped)) {
330
+ throw new IllegalStateException("Popped expression does not match expected expression");
331
+ }
332
}
333
334
/**
0 commit comments