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#128 · main · 15 min 51 s
0Étoiles
0Forks
40Issues
Types: record update requires a type with one constructor (issue #150)
`Ctor(..base, f: v)` copies the other fields of `base` by position, which is only right when `base` was built by `Ctor`. On a type with several constructors it type-checked and read another constructor's fields; it is now E0204, as reading a field of such a type already is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parents 6f433bf
2 fichiers modifiés, 21 ajouts, 0 suppressions
crates/louise_types/src/infer/mod.rs+15−0tests/ui/records.lse+6−0