mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Compile derived structural equality
This commit is contained in:
parent
54e977be2d
commit
3674f6861e
7 changed files with 41 additions and 1 deletions
|
@ -4469,7 +4469,11 @@ fn run_solve_solve(
|
|||
// ability.
|
||||
let exposed_vars_by_symbol: Vec<_> = solved_env
|
||||
.vars_by_symbol()
|
||||
.filter(|(k, _)| exposed_symbols.contains(k) || is_specialization_symbol(*k))
|
||||
.filter(|(k, _)| {
|
||||
exposed_symbols.contains(k)
|
||||
|| is_specialization_symbol(*k)
|
||||
|| k.is_exposed_for_builtin_derivers()
|
||||
})
|
||||
.collect();
|
||||
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue