Skip to content

Commit

Permalink
Merge pull request #3830 from unisonweb/fix/compile-types
Browse files Browse the repository at this point in the history
Some type references were being ignored when compiling code
  • Loading branch information
ceedubs authored Feb 16, 2023
2 parents aeac746 + 82bd02f commit 0207347
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parser-typechecker/src/Unison/Runtime/MCode.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1436,6 +1436,9 @@ sectionTypes _ = []

instrTypes :: Instr -> [Word64]
instrTypes (Pack _ w _) = [w `shiftR` 16]
instrTypes (Reset ws) = setToList ws
instrTypes (Capture w) = [w]
instrTypes (SetDyn w _) = [w]
instrTypes _ = []

branchDeps :: Branch -> [Word64]
Expand Down

0 comments on commit 0207347

Please sign in to comment.