Merge branch 'main' into simplify-refcount

This commit is contained in:
Luke Boswell 2025-01-09 10:18:00 +11:00 committed by GitHub
commit 37cd04c002
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
730 changed files with 22850 additions and 23870 deletions

View file

@ -3222,7 +3222,7 @@ fn specialize_external_help<'a>(
}
if procs.host_exposed_symbols.contains(&proc.name.name()) {
// layouts that are (transitively) used in the type of `mainForHost`.
// layouts that are (transitively) used in the type of `main_for_host`.
let mut host_exposed_layouts: Vec<_> = top_level
.arguments
.iter()

View file

@ -1290,7 +1290,7 @@ enum NichePriv<'a> {
/// ```roc
/// capture : _ -> ({} -> Str)
/// capture = \val ->
/// forcer = \{} -> Num.toStr val
/// forcer = \{} -> Num.to_str val
/// forcer
///
/// fun = \x ->