Commit graph

1811 commits

Author SHA1 Message Date
Folkert de Vries
10b8cd299d
Merge pull request #4099 from roc-lang/pe-host-to-app
windows surgical linker: call host functions from the app
2022-09-24 12:54:53 +02:00
Folkert
3131bd1a2f
Merge remote-tracking branch 'origin/pe-host-to-app' into windows-surgical-linker-first-roc-file 2022-09-23 20:17:42 +02:00
Folkert
f632e299cd
cross-compile C for windows with zig 2022-09-23 19:46:27 +02:00
Anton-4
d83f23928e
quotes to make error stand out 2022-09-23 18:35:54 +02:00
Folkert
6c4e225a4c
use unique temp dir 2022-09-23 17:13:15 +02:00
rezzaghi
8278d37f1d
fix format 2022-09-23 11:56:31 -03:00
rezzaghi
ce70fce3b2
Add path to error message when trying to read directory 2022-09-23 11:01:00 -03:00
Anton-4
ef9c77409f
Merge remote-tracking branch 'upstream/main' into swiftuidemo 2022-09-23 12:04:34 +02:00
Ayaz
06610b7a0d
Merge pull request #4092 from roc-lang/fix-builtin-importing
Import Encode/Decode modules, and their types, in all scopes
2022-09-23 04:25:06 -05:00
dependabot[bot]
b1e87981c0
Bump libc from 0.2.132 to 0.2.133
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.132 to 0.2.133.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.132...0.2.133)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 08:39:25 +00:00
Ayaz Hafiz
56c2936ebd
Update mono test 2022-09-22 14:43:32 -05:00
Folkert
1c95fd3761
a functional windows surgical linker 2022-09-22 21:28:27 +02:00
Ayaz
f4e77a9e38
Merge pull request #4090 from roc-lang/i4084
Properly import builtin modules in platforms
2022-09-21 14:01:01 -05:00
Ayaz Hafiz
fda485431f
Update mono test 2022-09-21 13:41:20 -05:00
Ayaz Hafiz
2037ad22fd
Update encode mono test 2022-09-21 13:40:50 -05:00
Ayaz Hafiz
dc70c1b0b0
Update mono tests 2022-09-21 13:39:10 -05:00
Ayaz Hafiz
625a86e7ed
Update test output 2022-09-21 12:30:09 -05:00
Ayaz Hafiz
06bef34829
Import Decode by default in all modules 2022-09-21 12:29:07 -05:00
Ayaz Hafiz
f10c47ec20
Update gen_abilities tests 2022-09-21 12:29:06 -05:00
Ayaz Hafiz
01815ad23f
Ability impls that don't shadow can end up resolving to the member def 2022-09-21 12:29:06 -05:00
Ayaz Hafiz
b7b0af0d45
Update solve tests 2022-09-21 12:29:06 -05:00
Ayaz Hafiz
67d0a3d36f
Symbol resolution of ability members can come from unique defs or unique shadows 2022-09-21 12:29:06 -05:00
Ayaz Hafiz
454f3634fd
Import all types from Encode by default 2022-09-21 12:29:06 -05:00
Ayaz Hafiz
7e5ff4883f
Do not qualify builtin modules with package shorthand when loading 2022-09-21 12:29:06 -05:00
Ayaz
211c297230
Merge pull request #4041 from KilianVounckx/opaque-bool
Opaque bool
2022-09-21 11:15:41 -05:00
Anton-4
04ea17e8a1
Merge branch 'main' into swiftuidemo
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-21 17:24:25 +02:00
Ayaz Hafiz
c0fc2fdb29
Do not qualify builtin modules with package shorthand when loading 2022-09-21 09:46:40 -05:00
Folkert de Vries
cc202a4cf9
Merge pull request #4082 from roc-lang/update-cli-platform-unreachables
Support unification with uninhabited tag variants in more places
2022-09-21 12:18:38 +02:00
Folkert de Vries
a74f5d9366
Merge pull request #4076 from roc-lang/collapse-void-2
Unwrap layouts containing void layouts as newtypes
2022-09-21 00:13:56 +02:00
Ayaz
362dadc7e9
Merge pull request #4073 from roc-lang/i4068
Construct exhaustiveness branches with condition, not branch, variable
2022-09-20 17:03:33 -05:00
Ayaz Hafiz
0bcbc065c2
Update wasm-str tests 2022-09-20 14:53:46 -05:00
Ayaz Hafiz
d88452e3d2
Update parse tests 2022-09-20 14:45:52 -05:00
Ayaz Hafiz
fd7b4ec9fc
Turn off gen-dev test for now 2022-09-20 14:42:09 -05:00
Ayaz Hafiz
b72ee8a68e
Attempt bool true/false impl in dev backend 2022-09-20 14:42:09 -05:00
Ayaz Hafiz
e3c91e1d4d
Can tests 2022-09-20 14:42:09 -05:00
Ayaz Hafiz
b3167ad49b
Clippy 2022-09-20 14:42:08 -05:00
Ayaz Hafiz
0abfca401a
Update mono tests 2022-09-20 14:42:08 -05:00
Ayaz Hafiz
447e1492e1
Work around symbol specializations not getting captured 2022-09-20 14:42:08 -05:00
Ayaz Hafiz
b797e9c0c8
Admit non-trivial holes 2022-09-20 14:42:08 -05:00
kilianv
222f0e8870
Fix typo 2022-09-20 14:42:08 -05:00
kilianv
08c238ff27
Generate new files in test_mono after changing to opaque bools 2022-09-20 14:42:05 -05:00
kilianv
49319a2ffe
Update Bool documentation to opaque types 2022-09-20 14:42:04 -05:00
kilianv
610c529ba8
Update roc files to use new opaque bools 2022-09-20 14:42:04 -05:00
kilianv
9717747a54
Update tests
not all tests pass yet. Will look at them with Ayaz.
2022-09-20 14:42:03 -05:00
kilianv
6dbebd7834
Update Bool to be opaque 2022-09-20 14:42:01 -05:00
Ayaz Hafiz
412c73c54c
Add test cases for uninhabited variant collapsing with destructure patterns
Closes #4080
2022-09-20 14:22:40 -05:00
Ayaz Hafiz
f96c825aa4
Allow uninhabited type extension to happen on either unification side 2022-09-20 14:20:47 -05:00
Ayaz Hafiz
b0598ef817
Simplify unification with uninhabited tags to happen anytime tags are uninhabited
I believe this is safe! No need to gate it behind a mode.
2022-09-20 14:13:55 -05:00
Ayaz Hafiz
7f54c0fd94
FIx gen-wasm tests 2022-09-20 11:38:23 -05:00
Ayaz Hafiz
77fbc0189e
Eliminate unnecessary branch in List.roc 2022-09-20 08:43:08 -05:00