Skip to content

Commit

Permalink
Resolved year-old but never detected issue in erroneous assertion
Browse files Browse the repository at this point in the history
regarding inappropriate node aspects
  • Loading branch information
rensink committed Oct 14, 2024
1 parent 703fff3 commit 1276774
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ public void addLabel(AspectLabel label) {
assert !isParsed();
getNodeLabels().add(label);
addErrors(label.getErrors());
label.getAspects().forEach(this::set);
if (!label.hasErrors()) {
label.getAspects().forEach(this::set);
}
}

/**
Expand Down

0 comments on commit 1276774

Please sign in to comment.