Permalink
Browse files

Fix bug where variables were incorrectly identified as duplicated in …

…the same scope.
  • Loading branch information...
ndw committed Jan 1, 2012
1 parent 62fef19 commit 1e9ecad32bd180b047fd9a9127999128b30117fb
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/com/xmlcalabash/model/Step.java
@@ -608,13 +608,6 @@ protected void checkDuplicateVars(HashSet<QName> vars) {
vars.add(var.getName());
}
}
// FIXME: this is crude and inefficient
for (Step step : subpipeline) {
HashSet<QName> curVars = (HashSet<QName>) vars.clone();
step.checkDuplicateVars(curVars);
}
}
protected boolean checkBinding(Input input) {

0 comments on commit 1e9ecad

Please sign in to comment.