Repository navigation
Commit aef04a9
fix(voronoi): cell-density constraint in the Studio dialect (#190)
constraints[2] (a `rule`, which useConstraints reads when there is no
`expression`) joined its two comparisons with the word `or`, which the
Studio's safeFormula parser does not have: it stops at `or` as a trailing
token and throws, useConstraints swallows the error and the warning never
fired. `||` binds looser than the comparisons in safeFormula, so the rewrite
has the same meaning. Severity, applies_to and both messages are unchanged.
Signed-off-by: Aldo Ruiz Luna <aldo.ruiz.luna@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 0322a5f commit aef04a9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| |||
0 commit comments