mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Make provides a Collection
This commit is contained in:
parent
d67b6c50b1
commit
df89fe7dd6
4 changed files with 14 additions and 17 deletions
|
@ -2642,7 +2642,7 @@ fn parse_header<'a>(
|
|||
opt_shorthand,
|
||||
header_src,
|
||||
packages,
|
||||
exposes: header.provides.into_bump_slice(),
|
||||
exposes: header.provides.items,
|
||||
imports: header.imports.items,
|
||||
to_platform: Some(header.to.value.clone()),
|
||||
};
|
||||
|
@ -3410,7 +3410,7 @@ fn fabricate_pkg_config_module<'a>(
|
|||
module_timing: ModuleTiming,
|
||||
) -> (ModuleId, Msg<'a>) {
|
||||
let provides: &'a [Located<ExposesEntry<'a, &'a str>>] =
|
||||
header.provides.clone().into_bump_slice();
|
||||
header.provides.items;
|
||||
|
||||
let info = PlatformHeaderInfo {
|
||||
filename,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue