Commit graph

34 commits

Author SHA1 Message Date
Agus Zubiaga
762799052e
Merge branch 'main' into typecheck-module-params 2024-08-07 18:55:33 -03:00
Brendan Hansknecht
d4b86a745b
update mono tests 2024-07-13 10:39:57 -07:00
Agus Zubiaga
3841376784
update mono tests after adding import defs 2024-07-06 22:52:38 -03:00
Folkert
48ddbec9d1
mono tests 2024-07-06 16:08:56 +02:00
shua
d90da3af52
rm TotallyNotJson
TotallyNotJson.roc now lives on the farm in virtual-dom-wip as Json.roc.
Any reference in stdlib or builtins has been removed, as well as the
last places it was used (in python/ruby-interop examples).
2024-07-01 20:37:23 +02:00
Anton-4
18394da2a2
update mono tests 2024-06-10 16:32:53 +02:00
Folkert
241d2b565a
update mono tests 2024-05-04 15:59:59 +02:00
Fabian Schmalzried
4586147ee8
fix test-mono 2024-04-01 21:08:15 +02:00
Brendan Hansknecht
3c737c19ee
update mono tests 2024-02-29 21:33:32 -08:00
Richard Feldman
3b55b64ca6
Update mono tests 2024-02-15 06:47:14 -05:00
Richard Feldman
aabd95404f
Merge remote-tracking branch 'origin/main' into remove-nat 2024-01-30 21:42:45 -05:00
Kiryl Dziamura
b3dfdb562b
crash on rem div by zero 2024-01-30 11:12:02 +01:00
Folkert
979128cf32
make division by zero (integer) not trap 2024-01-29 01:38:32 +01:00
Richard Feldman
418731cb71
Update mono tests 2024-01-26 16:25:32 -05:00
Brian Teague
4499f8c6f4
isApproxEq function 2024-01-23 21:06:35 -05:00
Folkert
8b5269a66c
update mono tests 2024-01-20 22:31:54 +01:00
Bryce Miller
80dd0b6b93
run test_mono 2023-12-12 07:42:18 -05:00
Folkert
abff41c91f
update mono tests 2023-11-06 18:19:34 +01:00
Isaac Van Doren
139d3c6f89
make dropFirst and dropLast drop n elements 2023-10-29 13:23:33 -05:00
Anton-4
44eedf7359
fix mono tests 2023-10-07 19:32:09 +02:00
Brendan Hansknecht
fb1db19dca
mono test 2023-09-17 09:00:01 -07:00
Folkert
26c85d9ccc
mono tests 2023-09-13 20:24:17 +02:00
Richard Feldman
b54a37e4b0
Merge remote-tracking branch 'origin/main' into walk-with-index 2023-08-17 11:54:34 -04:00
Richard Feldman
d63144489a
Merge remote-tracking branch 'origin/main' into walk-with-index 2023-08-17 00:08:50 -04:00
Anton-4
63b7fef60f
Merge + update mono tests 2023-08-16 19:21:34 +02:00
Richard Feldman
7768264868
Update mono tests again 2023-08-15 02:39:50 -04:00
Richard Feldman
af357a5cbd
Update mono tests 2023-08-15 02:30:21 -04:00
Richard Feldman
fd866a5a64
Update mono tests 2023-08-14 20:17:43 -04:00
Richard Feldman
08e7b52ddc
Update mono tests 2023-08-10 23:34:23 -04:00
Folkert
4c17caa90d
update mono tests 2023-08-08 18:39:54 +02:00
Folkert
99fcbd8d5f
update mono test 2023-07-25 09:52:54 +02:00
Ayaz Hafiz
fea41000e5
Update mono tests 2023-07-12 17:00:55 -05:00
Folkert
bb97c384bb
preserve semantics in the glue generation 2023-07-09 15:47:28 +02:00
Ayaz Hafiz
a5e1558a6e
Do not drop uninhabited captures from lambda sets
Previously, we would drop uninhabited captures from lambda sets' runtime
representations, which meant sets like

```
[L1 {a: Str}, L2 {a: []}]
```

had runtime representation

```
{Str}
```

rather than

```
Union({Str}, {[]})
```

if we drop unreachable lambdas from the representation, then the
reachable lambdas are somewhat more efficient to compile (as there are
less material tag options), but the compiler complexity increases
because we must represent voided capture sets in the lambda set.

Even if a lambda has voided captures, we must specialize it, because
failing to do so opens us up to losing relevant specializations needed
later on. See 2f7020aa31 for a
previous occurence of that.

As such, simply keep voided layouts in place during lambda set
compilation. The optimizer should elide them anyway.
2023-06-29 17:32:50 -05:00