Richard Feldman
4f7935a4da
Merge pull request #2003 from rtfeldman/deep-copy-var-to
...
Store pending or external specializations in Subs instead of SolvedType
2021-11-18 09:10:21 -05:00
Folkert
947051749d
fix typo
2021-11-18 13:17:29 +01:00
Folkert
9aca302c39
Merge remote-tracking branch 'origin/trunk' into deep-copy-var-to
2021-11-18 13:16:24 +01:00
Folkert
f99542f066
add special symbol for removed specializations
2021-11-18 13:15:00 +01:00
Michael Downey
9d587d37b4
Merge branch 'trunk' into add_list_all
2021-11-18 06:41:08 -05:00
satotake
2eae1a857b
Fix comment wording
2021-11-18 11:20:37 +00:00
satotake
9aabd08953
fmt
2021-11-18 11:17:05 +00:00
satotake
ce8a88416d
Merge branch 'trunk' into builtins-list-intersperse
2021-11-18 11:16:27 +00:00
satotake
7ce9f1b3bd
refactor after review
2021-11-18 10:15:38 +00:00
Brian Carroll
be55582290
Enable some more gen_wasm string builtins
2021-11-18 09:59:52 +00:00
Brian Carroll
9b2f01042e
Enable all Str.concat tests
2021-11-18 09:04:52 +00:00
Michael Downey
c5484a9ad3
fixing List.all on empty list to be true
2021-11-17 22:47:49 -05:00
ayazhafiz
214b8a30a9
Suggest typo fixes for non-existing module values
2021-11-17 22:40:51 -05:00
ayazhafiz
c156f61b0f
Suggest tags of primitive types when an ident is misspelled
...
With this change, mispellings of things like `true` and `false` will
include a hint to the user that they may want to use `True` and `False`,
respectively, instead.
There are a few ways to implement this, but exposing these common tags
(which compose builtin type aliases) seems the easiest, least expensive,
and doesn't break anything for now.
2021-11-17 22:40:51 -05:00
Joshua Warner
7f5b873357
Parse _ in type annotations as an 'Inferred' type
2021-11-17 17:59:40 -08:00
Richard Feldman
91c97dbba4
Merge pull request #2006 from rtfeldman/fix-macos-builds-1968
...
Fix compiler builds on macOS
2021-11-17 20:17:11 -05:00
ayazhafiz
c17b9ffaa3
Fix compiler builds on macOS
...
`cargo build` is currently failing on trunk. #1986 added an extra
parameter to the definition of `build_zig_host_native` active for
non-macOS targets, but did not reflect that parameter in the
macOS-specific definition.
I don't think there is a good way to test against these kinds of things
without a dedicated macOS machine on the CI runner (`cargo check
--target x86_64-apple-darwin` won't work since some dependencies need
arch-specific things to be present during build time). Any suggestions
are appreciated!
2021-11-17 17:45:02 -05:00
Richard Feldman
6adbfbd245
Merge pull request #1998 from rtfeldman/roc-reporting-separate-module
...
Move reporting module into root.
2021-11-17 17:41:15 -05:00
Richard Feldman
380f8bceec
Merge pull request #1990 from rtfeldman/fix-dev-backend-readme-link
...
Fix link in gen_dev README.md
2021-11-17 17:29:19 -05:00
Brendan Hansknecht
09f030621c
Merge pull request #1992 from rtfeldman/dev-backend-num-int-negate
...
add x86_64 Int Num.neg support for gen_dev
2021-11-17 14:16:36 -08:00
Folkert
f9c81bffe0
make external specializations more efficient
...
- create fewer Subs values
- don't merge Subs if not needed
2021-11-17 23:09:20 +01:00
Folkert
0199c00936
Merge remote-tracking branch 'origin/trunk' into deep-copy-var-to
2021-11-17 22:34:46 +01:00
Folkert
75126b09fd
refactor procs.specialized
2021-11-17 22:33:24 +01:00
Richard Feldman
1d330d9147
Merge pull request #1982 from rtfeldman/joshuawarner32/parser-snapshot-testing
...
Convert most test_parser tests to "snapshot" tests
2021-11-17 16:01:43 -05:00
Richard Feldman
2bb007e08b
Merge pull request #1987 from rtfeldman/builtins-list-split
...
Add builtin `List.split`
2021-11-17 13:41:58 -05:00
Brian Carroll
3d124b4122
Fix builtin calls for primitives
2021-11-17 16:51:42 +00:00
Brian Carroll
b5b90fb2b7
Delete unused file
2021-11-17 16:45:52 +00:00
Brian Carroll
1134b6f45c
Fix test_wrapper linking bug
2021-11-17 16:45:38 +00:00
Folkert
e6c561de7a
Merge remote-tracking branch 'origin/trunk' into deep-copy-var-to
2021-11-17 16:34:01 +01:00
Folkert
e030cd3da5
optimize restore
2021-11-17 16:33:32 +01:00
Folkert
65e0866d0a
add assert; a returned copy must always be in the target subs
2021-11-17 16:32:20 +01:00
Folkert
3b1e0eeb24
store a subs instead of a solved type in external specializations
2021-11-17 16:31:13 +01:00
Folkert
237d8d1c0b
fix the Default instance for subs
...
we later rely on some variables always existing (numbers, empty record, empty tag union)
but the default instance did not insert those
2021-11-17 16:29:16 +01:00
satotake
16fb04b4fa
Add builtin List.intersperse
2021-11-17 15:18:45 +00:00
Brian Carroll
751bfd842c
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-str-builtins
2021-11-17 14:36:52 +00:00
Brian Carroll
e75a9ec281
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-str-builtins
2021-11-17 13:51:11 +00:00
Brian Carroll
a3bfee5cd8
Leave other string builtins for later
2021-11-17 13:48:29 +00:00
Brian Carroll
03c19b727a
String concatenation working in gen_wasm!
2021-11-17 13:38:50 +00:00
Brian Carroll
a8f402d155
Merge branch 'trunk' into wasm-long-string-literal
2021-11-17 13:34:27 +00:00
Brian Carroll
9de989c0d5
Link wasm test binaries with libc.a
2021-11-17 12:54:39 +00:00
Brian Carroll
4aaa6d92a1
For now, commit a binary archive of Wasm libc
2021-11-17 12:52:48 +00:00
Folkert
aa4ee812fe
remove dead add_pending
function
2021-11-17 13:23:46 +01:00
Folkert
d3528a3ed3
refactor ExternalSpecializations to use Vec
2021-11-17 13:21:58 +01:00
satotake
cef664165d
Merge branch 'trunk' into fix-dev-backend-readme-link
2021-11-17 19:39:33 +09:00
Brian Carroll
af896e5d33
Comments
2021-11-17 09:39:16 +00:00
Richard Feldman
8f25106b2c
Merge pull request #1986 from rtfeldman/valgrind_instr_fix
...
cli_run tests: valgrind unhandled insturction bytes
2021-11-16 20:32:39 -05:00
Brian Carroll
85855fc112
Merge branch 'wasm-long-string-literal' of github.com:rtfeldman/roc into wasm-long-string-literal
2021-11-16 23:41:31 +00:00
Brian Carroll
36f2ef301f
Only enable wasm_str tests for gen-wasm feature
2021-11-16 23:41:15 +00:00
Michael Downey
81f0f46132
fixing test
2021-11-16 18:25:16 -05:00
Folkert
ede5967ced
Merge remote-tracking branch 'origin/trunk' into deep-copy-var-to
2021-11-16 23:56:11 +01:00