Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 1e9ecad
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/com/xmlcalabash/model/Step.java
Expand Up @@ -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) {
Expand Down

0 comments on commit 1e9ecad

Please sign in to comment.