Commit graph

7247 commits

Author SHA1 Message Date
ayazhafiz
68d28349ed Exhaustiveness checking opaque patterns 2022-02-27 00:10:12 -05:00
ayazhafiz
9d87c605fe Couple of opaque repl tests 2022-02-27 00:10:12 -05:00
ayazhafiz
736645cd8c Remove some dead code 2022-02-27 00:10:12 -05:00
ayazhafiz
059c324268 Error reporting for type mismatches involving opaques 2022-02-27 00:10:12 -05:00
ayazhafiz
822e38d026 Fix opaque reporting tests 2022-02-27 00:10:12 -05:00
ayazhafiz
ccd4963e0f Fix clippy warnings 2022-02-27 00:10:12 -05:00
ayazhafiz
b6d7229525 Infer + checking tests for opaques 2022-02-27 00:10:12 -05:00
ayazhafiz
86aa0df661 Add constraint generation for opaque types 2022-02-27 00:10:11 -05:00
Richard Feldman
d3acf34415
Merge pull request #1591 from rtfeldman/single-quote-literal
Single Quote literal
2022-02-26 23:27:46 -05:00
Joshua Warner
611d1784a9 Add tests 2022-02-26 14:15:46 -08:00
Brian Carroll
c6a9b900ca Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-repl-fixes 2022-02-26 22:14:13 +00:00
hafiz
1aec997843
Merge pull request #2574 from rtfeldman/fix-panic-on-unimported-module
[Bug] Handle unimported modules properly
2022-02-26 16:39:22 -05:00
Joshua Warner
ab563fc9a5 Remove dead code 2022-02-26 13:34:53 -08:00
Joshua Warner
b2bb9dcd65 improve parser snapshot test error messages 2022-02-26 13:34:53 -08:00
Joshua Warner
333234aad9 Improve error message for no_extra_snapshot_test_files test 2022-02-26 13:32:20 -08:00
Joshua Warner
0e3b9e5624 Allow incorrect indents for closing braces, to be fixed in the formatter 2022-02-26 13:31:45 -08:00
Joshua Warner
2682193b76 Fix compile error with --features=parse_debug_trace 2022-02-26 13:31:08 -08:00
ayazhafiz
a6419ccd59 Remove unnecessary debug assert 2022-02-26 15:57:57 -05:00
ayazhafiz
4742847ba9 Wrap content that is unwrapped and passes through a type alias correctly
Closes #2592
2022-02-26 15:08:27 -05:00
Brian Carroll
713241670a repl_wasm: Fix bugs in wrapper function generation 2022-02-26 13:13:57 +00:00
Brian Carroll
9544b3ba6c repl_wasm: update static assertions for struct sizes 2022-02-26 13:11:17 +00:00
Richard Feldman
d57334dd63
Merge pull request #2566 from rtfeldman/gui-example
GUI Example
2022-02-26 07:48:38 -05:00
Brendan Hansknecht
dfa6d30812 fix escaped literals 2022-02-25 22:10:41 -08:00
Brendan Hansknecht
ffee5ab97a add some more tests, including failure for new line 2022-02-25 22:05:21 -08:00
Brendan Hansknecht
c025b8806b disable accidentally enabled test on dev backend 2022-02-25 21:07:20 -08:00
Brendan Hansknecht
203328da5c
Merge pull request #2581 from rtfeldman/cleanup-features
Cleanup features
2022-02-26 05:00:36 +00:00
Brendan Hansknecht
39d070e543 flip platform flag to be default 2022-02-25 20:10:36 -08:00
Brendan Hansknecht
85ae871ced remove init_arch from link 2022-02-25 15:36:12 -08:00
Brendan Hansknecht
6968647cc5 update versions to lockfile 2022-02-25 11:41:05 -08:00
Brendan Hansknecht
c13c8ece1f pipe target and roc_build features around 2022-02-25 11:37:44 -08:00
Brendan Hansknecht
f59b5cab95 fix undefined symbols in roc_std with platform feature 2022-02-25 11:05:08 -08:00
Brendan Hansknecht
8393604b58 fix building without llvm 2022-02-25 10:41:11 -08:00
Brendan Hansknecht
3dce239bea remove default features from build to avoid accidentally including them 2022-02-25 10:19:43 -08:00
Emi Simpson
043923c62b
🧹 Clean up unused imports 2022-02-25 13:14:45 -05:00
Emi Simpson
10f665f6c5
Amend 4d10c22: 🐛 Fix a typo in doccomment for ModuleNotImported
blammed by the spellchecker!  how embarrassing
2022-02-25 11:46:46 -05:00
Richard Feldman
628d1ae30a
Merge remote-tracking branch 'origin/trunk' into gui-example 2022-02-25 11:21:50 -05:00
Tom Dohrmann
f1a18d6097 don't create slice from null pointer 2022-02-25 17:15:07 +01:00
Tom Dohrmann
ba311319bf move safe code out of unsafe block 2022-02-25 17:10:47 +01:00
Tom Dohrmann
25c668d72c simplify write_c_str and fix type 2022-02-25 17:03:30 +01:00
Tom Dohrmann
466d12a6ff simplify from_str 2022-02-25 17:01:35 +01:00
Tom Dohrmann
ea3f6210fa change from_slice to from_str 2022-02-25 16:59:39 +01:00
Tom Dohrmann
edd02e01e1 simplify clone 2022-02-25 16:56:50 +01:00
Tom Dohrmann
d2ff36c535 simplify get 2022-02-25 16:54:18 +01:00
Tom Dohrmann
f248643890 use Rust's default allocator 2022-02-25 16:51:49 +01:00
Tom Dohrmann
82377c3795
Merge pull request #2577 from rtfeldman/fix-ident-str-clone
fix `IdentStr::clone`
2022-02-25 16:43:50 +01:00
Brendan Hansknecht
cd0d89fdc9 Merge remote-tracking branch 'origin/trunk' into single-quote-literal 2022-02-25 07:39:58 -08:00
Brendan Hansknecht
7c6c9b52a9 Merge remote-tracking branch 'origin/trunk' into list-replace 2022-02-25 07:35:00 -08:00
Emi Simpson
40375adbb0
Merge remote-tracking branch 'upstream/trunk' into fix-panic-on-unimported-module 2022-02-25 09:18:19 -05:00
Tom Dohrmann
5245770e1a fix copy_length 2022-02-25 15:15:07 +01:00
Richard Feldman
a49b66e379
Merge branch 'trunk' into gui-example 2022-02-25 08:22:36 -05:00