You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attaching a label to a Rule via method .label("some label") it is not correctly applied to the rule. Attaching a label via annotation @Label works fine.
Starting new parsing run
Label-1/'a', matched, cursor at 1:2 after "a"
Label-1, matched, cursor at 1:2 after "a"
Starting new parsing run
rule2/'a', matched, cursor at 1:2 after "a"
rule2, matched, cursor at 1:2 after "a"
The label "Label-1" of the first rule is applied correctly, the second label "Label-2" is not applied. The second rule is still labeled as "rule2" in the output. This also happens in the tracer / debugger, so it is not a problem during output, but when attaching the label.
The text was updated successfully, but these errors were encountered:
When attaching a label to a Rule via method
.label("some label")
it is not correctly applied to the rule. Attaching a label via annotation@Label
works fine.Example:
Output:
The label "Label-1" of the first rule is applied correctly, the second label "Label-2" is not applied. The second rule is still labeled as "rule2" in the output. This also happens in the tracer / debugger, so it is not a problem during output, but when attaching the label.
The text was updated successfully, but these errors were encountered: