Commit graph

25 commits

Author SHA1 Message Date
Brendan Hansknecht
a86c8d7994
update mono tests 2023-02-27 16:36:08 -08:00
Brendan Hansknecht
415cac5179
update mono tests 2022-12-04 21:49:28 -08:00
Ayaz Hafiz
204ac2f8b4
Consolidate mono test behavior in debug and release modes
Makes sure that we turn on `debug-symbols` in mono tests, and that this
feature is fully respected in symbol generation, so that output in
release + debug builds are the same.

Closes #4435
2022-11-02 15:04:47 -05:00
Ayaz Hafiz
dc70c1b0b0
Update mono tests 2022-09-21 13:39:10 -05:00
kilianv
08c238ff27
Generate new files in test_mono after changing to opaque bools 2022-09-20 14:42:05 -05:00
Ayaz Hafiz
1460f60ab1
Unify material recursion variables behind aliases and opaques
Even if there are no changes to alias arguments, and no new variables were
introduced, we may still need to unify the "actual types" of the alias or opaque!

The unification is not necessary from a types perspective (and in fact, we may want
to disable it for `roc check` later on), but it is necessary for the monomorphizer,
which expects identical types to be reflected in the same variable.

As a concrete example, consider the unification of two opaques

  P := [Zero, Succ P]

  (@P (Succ n)) ~ (@P (Succ o))

`P` has no arguments, and unification of the surface of `P` introduces nothing new.
But if we do not unify the types of `n` and `o`, which are recursion variables, they
will remain disjoint! Currently, the implication of this is that they will be seen
to have separate recursive memory layouts in the monomorphizer - which is no good
for our compilation model.

Closes #3653
2022-07-29 11:03:47 -04:00
Ayaz Hafiz
0b74620a8f
Update mono tests 2022-07-18 22:15:22 -04:00
Richard Feldman
2efb605d68
Update mono tests 2022-07-13 12:20:16 -04:00
Folkert
02fa2eb086
update mono tests 2022-07-08 22:14:16 +02:00
Folkert
c0ace1ee0b
update mono tests 2022-07-08 16:19:12 +02:00
Folkert
24c6b92846
update mono tests 2022-07-08 16:16:42 +02:00
Folkert
6dc0a379b0
update mono tests 2022-07-08 15:39:23 +02:00
Folkert
e6977986c9
update mono tests 2022-07-08 02:57:00 +02:00
Ayaz Hafiz
f940cc18c1
Consolidate calling specialized proc 2022-07-06 09:12:02 -04:00
Folkert
36c8723214
update mono tests 2022-07-05 00:52:10 +02:00
Ayaz Hafiz
2726a3506f
Remove tag_name from Expr::Tag 2022-07-03 16:48:51 -04:00
ayazhafiz
671a19b29d
Fix mono 2022-07-03 10:39:55 -04:00
ayazhafiz
ae410fbf5d
Fix mono tests 2022-07-03 10:37:39 -04:00
Brian Carroll
94181111be
Merge branch 'trunk' of github.com:rtfeldman/roc into pure-roc-list-walk 2022-07-02 21:44:42 +01:00
Folkert
543615292a
update mono tests 2022-07-02 19:38:38 +02:00
Brian Carroll
219e6d11cf
Merge branch 'trunk' of github.com:rtfeldman/roc into pure-roc-list-walk 2022-07-02 18:08:43 +01:00
Anton-4
9b4529bf25
updated mono tests 2022-07-02 12:39:33 +02:00
Anton-4
80226143e0
update mono tests 2022-07-02 11:02:10 +02:00
Anton-4
e4d8c1e88e
updated mono tests, fixed earthly dir copy 2022-07-01 19:15:36 +02:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Renamed from compiler/test_mono/generated/list_get.txt (Browse further)