mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Don't expose specializations to host
This commit is contained in:
parent
720621b500
commit
6f51eb09dd
1 changed files with 7 additions and 1 deletions
|
@ -2087,7 +2087,13 @@ fn update<'a>(
|
||||||
solved_module
|
solved_module
|
||||||
.exposed_vars_by_symbol
|
.exposed_vars_by_symbol
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(k, v)| (*k, *v)),
|
.filter_map(|(k, v)| {
|
||||||
|
if abilities_store.is_specialization_name(*k) {
|
||||||
|
None
|
||||||
|
} else {
|
||||||
|
Some((*k, *v))
|
||||||
|
}
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
state
|
state
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue