mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
actually infer the size
This commit is contained in:
parent
c00cd2f415
commit
e9f5c1a73c
8 changed files with 51 additions and 25 deletions
|
@ -196,8 +196,9 @@ fn solve(
|
|||
constraint: &Constraint,
|
||||
) -> State {
|
||||
match constraint {
|
||||
True => state,
|
||||
SaveTheEnvironment => {
|
||||
// True => state,
|
||||
True | SaveTheEnvironment => {
|
||||
// NOTE deviation: elm only copies the env into the state on SaveTheEnvironment
|
||||
let mut copy = state;
|
||||
|
||||
copy.env = env.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue