Closed j-mie6 closed 1 year ago
Code Climate has analyzed commit 1fb09b5f and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 91.2% (0.0% change).
View more on Code Climate.
This PR generalises the
empty
combinator so that it can specify the caret at all levels of abstraction: prior to this, error messages supported wide carets from the filters, but theEmpty
instruction fixed this to0
. The new behaviour allows this to vary all the way up to the combinator level, withIn
parsley.errors.combinator
. The currentempty
is now aliased toempty(0)
. In future this will be exposed, allowing for the primitive construction of say thefilterOut
combinator, if desired.