Repository navigation
Commit 700d9e3
fix(battery-pocket-frame): corner-radius constraint in the Studio dialect (#187)
constraints[2] joined its two comparisons with the word `and`, which the
Studio's safeFormula parser does not have: it stops at `and` as a trailing
token and throws, useConstraints swallows the error and the rule never fired.
`&&` binds looser than the comparisons in safeFormula, so the rewrite has the
same meaning. Severity 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 97fa11b commit 700d9e3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| |||
0 commit comments