1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-07 16:22:14 +03:00
juvix/tests
Jan Mas Rovira 178bc5324f
Fix name signature bug and extend test for instance fields (#2928)
- Closes #2923 

This pr fixes a bug where all fields were assigned to be explicit
arguments in the NameSignature Builder. A single line change was enough
to fix it.
```diff
-           RecordStatementField RecordField {..} -> addSymbol @s Explicit Nothing _fieldName _fieldType
+           RecordStatementField RecordField {..} -> addSymbol @s (fromIsImplicitField _fieldIsImplicit) Nothing _fieldName _fieldType
```

I've also added a compilation test for instance fields.
2024-07-30 17:56:42 +02:00
..
Anoma/Compilation Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02: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 Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02:00
Compilation Fix name signature bug and extend test for instance fields (#2928) 2024-07-30 17:56:42 +02:00
Core Adapt Anoma builtins to new Anoma Node API (#2861) 2024-07-01 18:44:02 +01:00
examplesExpected Add a test suite for milestone examples (#1920) 2023-03-24 13:16:26 +00:00
Internal Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02:00
negative Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02:00
nockma/positive Fix bugs in the Nockma prettyprinter and parser (#2632) 2024-02-09 14:59:42 +01:00
positive Fix name signature bug and extend test for instance fields (#2928) 2024-07-30 17:56:42 +02: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 Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02:00
smoke Logger (#2908) 2024-07-22 17:14:37 +02:00
Tree Adapt Anoma builtins to new Anoma Node API (#2861) 2024-07-01 18:44:02 +01: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