1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-30 05:42:26 +03:00
juvix/tests
Jan Mas Rovira 200daad1dc
Fix bug in ComputeTypeInfo for let (#3158)
- 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
```
2024-11-12 16:44:25 +01:00
..
Anoma/Compilation Non-recursive definitions (#3138) 2024-11-04 18:18:39 +01:00
Asm Remove copy propagation from the native/WASM and Rust pipelines (#2846) 2024-06-20 12:44:15 +02:00
benchmark Merge if -> ite renaming from stdlib (#2869) 2024-07-02 10:03:06 +02:00
Casm Non-recursive definitions (#3138) 2024-11-04 18:18:39 +01:00
Compilation Fix bug in ComputeTypeInfo for let (#3158) 2024-11-12 16:44:25 +01:00
Core Add frontend support for Anoma stdlib sha256 (#3109) 2024-10-17 19:11:26 +02:00
examplesExpected Add a test suite for milestone examples (#1920) 2023-03-24 13:16:26 +00:00
Internal Non-recursive definitions (#3138) 2024-11-04 18:18:39 +01:00
negative Non-recursive definitions (#3138) 2024-11-04 18:18:39 +01:00
nockma/positive Fix bugs in the Nockma prettyprinter and parser (#2632) 2024-02-09 14:59:42 +01:00
positive Non-recursive definitions (#3138) 2024-11-04 18:18:39 +01:00
Reg/positive Copy propagation in JuvixReg (#2828) 2024-06-18 21:38:02 +02:00
runtime/positive Add an if instruction to JuvixReg (#2855) 2024-06-26 19:08:33 +02:00
Rust/Compilation/positive Non-recursive definitions (#3138) 2024-11-04 18:18:39 +01:00
smoke Release 0.6.8 (#3165) 2024-11-11 17:08:17 +01:00
Tree Fix JuvixTree unification (#3087) 2024-10-09 15:33:42 +02:00
VampIR Merge if -> ite renaming from stdlib (#2869) 2024-07-02 10:03:06 +02:00
WithoutPackageFile Fix #2510 (#2512) 2023-11-17 16:10:38 +01:00
.gitattributes Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00