Commit graph

161 commits

Author SHA1 Message Date
Anton-4
1f2b39a521
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-23 18:27:33 +01:00
Ayaz Hafiz
f6da8275ec
Record changed variables if any nested variable has changed
When we unify variables in mono, we must invalidate the sections of the
layout cache reached by those variables. Previously we did this by
recording changed variables as those that were `merge`d. However this is
not enough; we must also record all the parent types they came from. The
reason is we may have something like

```
Alias (Foo, a) ~ Alias (Bar, U8)
```

where we will merge `a = U8` but we do not merge the aliases.

Closes #4919
2023-01-21 12:37:21 -06:00
Anton-4
1f7e8d58a6
only run letter parser on ubu CI 2023-01-20 16:42:37 +01:00
Anton-4
8b14aec0f5
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-18 19:26:59 +01:00
Anton-4
c9a0664023
Merge remote-tracking branch 'upstream/main' into parser-package 2023-01-18 19:21:27 +01:00
Ayaz Hafiz
f58fb42d2b
Ignore gui test for now 2023-01-18 10:16:25 -06:00
Luke Boswell
d14d410153
added basic parsing example to ci 2023-01-18 13:49:38 +01:00
Luke Boswell
6790848be5
remove redundant zig platform, fix tests 2023-01-18 12:52:19 +01:00
Anton-4
88f218d24f
clippy fixes after merge 2023-01-17 18:24:38 +01:00
Anton-4
bbf35af8fa
Merge branch 'main' into rust1_65
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-17 18:14:30 +01:00
Anton-4
a97c53d7ca
1.65 changes and clippy fixes 2023-01-17 18:09:16 +01:00
Anton-4
309052c85a
re-enable args cli_run test 2023-01-17 14:45:17 +01:00
Brian Carroll
0ee8de2bc8
parser/Http: add a cli test and a new method for library testing 2023-01-10 08:53:48 +00:00
Ayaz
562a2748cb
Merge branch 'main' into i4732
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2022-12-28 11:56:08 -06:00
Anton-4
33af6264d6
add helloWorldNoURL 2022-12-27 15:03:31 +01:00
Ayaz Hafiz
ba2fc89ec4
Ignoring virtual DOM tests that only fail in debug 2022-12-25 17:10:08 -06:00
Brian Carroll
2c0e6bb21f
Merge branch 'main' into virtual-dom-rendered-type
Signed-off-by: Brian Carroll <brian.carroll.ireland@gmail.com>
2022-12-21 17:26:15 +00:00
Folkert
af4023f116
make i386 cli tests compile 2022-12-20 16:29:01 +01:00
Richard Feldman
205b9bc20a
Merge pull request #4736 from roc-lang/packages
Basic Packages
2022-12-19 22:37:45 -05:00
Brian Carroll
9c3f61c448
cli_run: update virtual-dom test and add a client-side test 2022-12-19 23:40:10 +00:00
Anton-4
3185207313
ignore virtual dom test on windows 2022-12-19 11:31:18 +01:00
Folkert de Vries
a18197347b
Merge pull request #4767 from roc-lang/wasm_interp_repl_test
Replace Wasmer with roc_wasm_interp
2022-12-18 20:44:58 +01:00
Brian Carroll
32fcfec51d
virtual-dom: add a roc check test to cli_run 2022-12-18 16:48:20 +00:00
Richard Feldman
3e448fd2b4
Merge remote-tracking branch 'origin/main' into packages 2022-12-17 03:32:52 -05:00
Richard Feldman
fefb3b9908
gitignore cli_testing_example's compiled app 2022-12-16 12:29:47 -05:00
Richard Feldman
c4da82cdae
Fix CLI test for packages 2022-12-16 12:27:22 -05:00
Richard Feldman
1d670cd0cf
Add CLI test for packages 2022-12-16 12:22:50 -05:00
Brian Carroll
3588e57c6a
clippy 2022-12-16 16:22:52 +00:00
Brian Carroll
eaf0211808
cli: update run_wasm to use roc_wasm_interp 2022-12-16 14:52:11 +00:00
Brian Carroll
fec64f0766
cli: remove wasmer dependency and rename run_with_wasmer->run_wasm 2022-12-16 14:52:10 +00:00
Ayaz Hafiz
a4f124687d
Add a test for polymorphic dbgs 2022-12-14 17:02:43 -06:00
Folkert
9c72eb5b93
test expects for variables and expressions 2022-12-09 00:04:43 +01:00
Folkert
13d0b75bc1
Merge remote-tracking branch 'origin/main' into expect-print-values 2022-12-08 23:42:03 +01:00
Folkert
98560c63e6
fix bad merge 2022-12-05 12:54:57 +01:00
Folkert
ae8b0b4a1b
use some custom types in cli_run to clarify code 2022-12-04 23:22:36 +01:00
Brendan Hansknecht
8e710cb80e
disable wasm tests that are broken 2022-12-03 13:17:36 -08:00
Folkert
23274fbb8d
fix incorrect path used 2022-12-02 21:39:08 +01:00
Folkert
bc4473132d
ignore some cache files 2022-12-02 18:52:22 +01:00
Folkert
f55ca53088
move the test files to prevent race condition on platform 2022-12-02 15:43:49 +01:00
Folkert
fdd72c8ce3
add test for roc dev and roc test 2022-12-02 15:43:49 +01:00
Folkert
dba23c5889
be explicit about valgrind usage 2022-12-02 15:43:49 +01:00
Folkert
9bee0a6fa5
add test for inline expect 2022-12-02 15:43:48 +01:00
Ayaz Hafiz
a42c7c00a6
Turn on roc dev test for env.roc again 2022-12-01 09:10:26 -06:00
Richard Feldman
d949a918e4
Use false interpreter in type mismatch test 2022-11-26 19:04:35 -05:00
Richard Feldman
d00f421946
Fix test 2022-11-24 04:38:55 -05:00
Ayaz Hafiz
bbaa9299f1
Update cli tests 2022-11-17 17:21:38 -06:00
Ayaz Hafiz
b957e670e2
Fix cli run test 2022-11-16 14:54:06 -06:00
Ayaz Hafiz
c529505aef
Disable cli/args test for now, but continue testing roc check on it
Args.roc has always been in a broken state, relying on particular
hand-holding of the compiler to operate. With recent changes to type
emplacement, Args.roc now shows off compiler bugs that cannot be papered
over and need to be addressed head-on. These are problems that I do not
think can be directly solved via eliminating type emplacement; I think
they are a combination of constraining and mono bugs, and will be
investigated separately.

For now, turn off attempts to build Args, and instead just test that
`roc check` continues to behave well.
2022-11-16 14:05:52 -06:00
Anton-4
fba1dc2b80
ignore one more test 2022-11-16 13:58:21 +01:00
Anton-4
87042bc3e1
ignore more tests 2022-11-16 13:58:21 +01:00