commits
there was a `is_record_constructor` function that did basically the same
as `is_record_builder` but was more limited (e.g. couldn't understand a
module select was still a record builder). So I removed that function
and replaced its usage with the better `is_record_builder`
Closes https://github.com/gleam-lang/gleam/issues/4699
To allow forcing a list on multiple lines based on the presence of a
trailing comma
- Strip trailing slashes from Forgejo/Gitea Hosts
- "Repository" and "View-Source" links do not include `//`
- Only emit `#Lx` instead of `#Lx-Lx` for single lines.
Use previous message when tail is followed by regular items
Now it's consistent with the way we print other error messages and
allows us greater control, like adding additional extra labels and such.
Now it can tell the difference when a pattern has the wrong arity and
refer to it as a "pattern" instead of a "call".