mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Remove layouts from the mono AST for expects
This actually isn't needed, because the backends must lookup the layout from the environment anyway. So it's enough to lookup the symbol and find its layout, there is no need to additionally store it.
This commit is contained in:
parent
f2ffda6d05
commit
1962f2045e
6 changed files with 2 additions and 36 deletions
|
@ -2586,7 +2586,6 @@ pub fn build_exp_stmt<'a, 'ctx, 'env>(
|
|||
condition: cond_symbol,
|
||||
region,
|
||||
lookups,
|
||||
layouts: _,
|
||||
remainder,
|
||||
} => {
|
||||
let bd = env.builder;
|
||||
|
@ -2655,7 +2654,6 @@ pub fn build_exp_stmt<'a, 'ctx, 'env>(
|
|||
condition: cond_symbol,
|
||||
region,
|
||||
lookups,
|
||||
layouts: _,
|
||||
remainder,
|
||||
} => {
|
||||
let bd = env.builder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue