mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Make repr private and accessible only via the interner
This commit is contained in:
parent
107c6b0777
commit
457cdabc5c
30 changed files with 294 additions and 288 deletions
|
@ -1277,7 +1277,7 @@ fn symbol_layout_reusability<'a>(
|
|||
symbol: &Symbol,
|
||||
layout: &InLayout<'a>,
|
||||
) -> Reuse<'a> {
|
||||
match layout_interner.get(*layout).repr {
|
||||
match layout_interner.get_repr(*layout) {
|
||||
LayoutRepr::Union(union_layout) => {
|
||||
can_reuse_union_layout_tag(union_layout, environment.get_symbol_tag(symbol))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue