Download Latest Version v1.31.0 source code.zip (822.7 kB)
Home / v1.31.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-11-06 1.2 kB
v1.31.0 source code.tar.gz 2026-11-06 781.5 kB
v1.31.0 source code.zip 2026-11-06 822.7 kB
Totals: 3 Items   1.6 MB 2

This release fixes where the failure of a semantic predicate is counted, so that the message a predicate gives is no longer replaced by the error of an alternative that failed inside the match the predicate rejected. abidiff reports a change, so it is a minor release.

🐛 Fixed

  • A predicate rejects a match that went to its end, but its failure was counted where the rule started. An alternative tried after it that failed anywhere inside that match took the error, and its message was reported in place of the predicate's.

S <- Small / Any Small <- NUMBER 'kg' # its predicate rejects "200 kg" with "too heavy for kg" Any <- NUMBER 'g'

For 200 kg, the error is now 1:1 too heavy for kg instead of 1:5 ... expecting 'g'. This also holds when a rule with an error_message gave its message inside the rejected match.

  • The predicate's message is still reported where the match starts, and an error past the end of the match still takes over.

⚠️ Changes to be aware of

  • Programs linked against an earlier version should be rebuilt (abidiff reports a change). Source code compiles unchanged.
Source: README.md, updated 2026-11-06