Store exposed module IDs in file loading state

This commit is contained in:
Richard Feldman 2022-12-19 23:54:38 -05:00
parent ab45d6c632
commit e549456668
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
2 changed files with 41 additions and 0 deletions

View file

@ -54,6 +54,7 @@ pub enum HeaderType<'a> {
requires: &'a [Loc<TypedIdent<'a>>],
requires_types: &'a [Loc<UppercaseIdent<'a>>],
exposes: &'a [Loc<ModuleName<'a>>],
exposes_ids: &'a [roc_module::symbol::ModuleId],
/// usually `pf`
config_shorthand: &'a str,