louise
The Louise language: compiler, runtime, std, tooling
Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.
Dernier runRéussi#125 · main · 16 min 13 s
0Étoiles
0Forks
40Issues
Syntax: a constructor's where stops at a leading comma
A constructor's `where` ends at the end of its line, but a comma starting the next line was eaten as one more constraint: in Lit(a) -> Expr<a> where Show<a> , Zero -> Expr<Int> `Zero -> ...` parsed as a constraint. A comma that starts a line now separates constructors, like one that ends a line already did. This is the layout the formatter is about to print (ADR 0059 rev. 1). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parents 948e694
4 fichiers modifiés, 70 ajouts, 5 suppressions
crates/louise_syntax/src/grammar/mod.rs+3−2crates/louise_syntax/tests/data/ok/gadts.lse+5−0crates/louise_syntax/tests/snapshots/parser__ok_corpus_parses_cleanly@gadts.lse.snap+61−2docs/reference/grammar.md+1−1