Closed tkobayas closed 6 months ago
/take
Well, it seems that we shouldn't rely on a semantic predicate in this case (orRistriction
to operator_key
).
https://github.com/antlr/antlr4/blob/master/doc/predicates.md#finding-visible-predicates
I posted a SO question : https://stackoverflow.com/questions/78417977/semantic-predicate-false-throws-noviablealtexception-in-adaptivepredict-then
Parent issue
5678
Failing rule
Notes
Rule code snippet
The problematic constraint is
typeRef.prefix == null || getNamespaceURI( typeRef.prefix ) != getURIFEEL()
.Error output