Commits
Since the previous commit sorts these modules alphabetically, these
tests won't be flaky and should always result in the same message.
Co-authored-by: Giacomo Cavalieri <giacomo.cavalieri@icloud.com>
Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
A warm rebuild only passed the recompiled modules to codegen, so the .app
modules list shrank (empty when nothing changed). Fixes #5834.
Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
Co-authored-by: Louis Pilfold <louis@lpil.uk>
When a longer guarded string prefix falls through to a shorter one,
the backend re-checked the longer prefix with startsWith before
slicing.
Pattern matching on overlapping string prefixes with guards could
generate incorrect JavaScript. Distinguish hoistable guards from
pattern-bound guards so fall-through to shorter prefixes works.
A path dependency of a git package that resolves to the repository
root produced an empty repo-relative path, stored as path: Some("").
This conflicted with the same package declared directly as a git
dependency with no path (path: None).