mirror of
https://github.com/anoma/juvix.git
synced 2024-12-26 17:13:35 +03:00
200daad1dc
- Fixes #3030 The `ComputeTypeInfo` transformation was incorrectly assuming that the type of the body couldn't refer to the let item. When inferring the type of a let, we now inline the let item(s) into the type of the body. ``` NLet Let {..} -> let bodyTy = Info.getNodeType _letBody in subst (_letItem ^. letItemValue) bodyTy ``` |
||
---|---|---|
.. | ||
Base.hs | ||
Negative.hs | ||
Positive.hs |