mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
![]() Some of the head-constructor tests we generate can be supersets of other tests. Edges must be ordered so that more general tests always happen after their specialized variants. For example, patterns [1, ..] -> ... [2, 1, ..] -> ... may generate the edges ListLen(>=1) -> <rest> ListLen(>=2) -> <rest> but evaluated in exactly this order, the second edge is never reachable. The necessary ordering is ListLen(>=2) -> <rest> ListLen(>=1) -> <rest> Closes #4732 |
||
---|---|---|
.. | ||
generated | ||
src | ||
Cargo.toml |