Commit Graph

13263 Commits

Author SHA1 Message Date
ayazhafiz
4e27cdd21d Compile opaque patterns all the way, and add repl test 2022-02-27 00:11:10 -05:00
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
Richard Feldman
a164835342
Use std::iter::once over vec! 2022-02-26 21:00:18 -05:00
Brian Carroll
cae455b2bb Try to get wasm-pack install to find openssl 2022-02-26 22:45:45 +00: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
Folkert
65b1b3fcce
just before Num 2022-02-26 23:11:40 +01: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
Richard Feldman
4925d3de6d
Merge pull request #2595 from rtfeldman/various-repl-and-type-fixes
Couple of repl bug fixes
2022-02-26 16:29:24 -05:00
Brian Carroll
fcf0e0b987 Earthfile: move ssl install before wasm-pack 2022-02-26 21:00:20 +00:00
ayazhafiz
a6419ccd59 Remove unnecessary debug assert 2022-02-26 15:57:57 -05:00
ayazhafiz
6e555e428d Use correct layouts when rendering records
Closes #2588
2022-02-26 15:53:16 -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
Folkert
c0d3543d5a
make Str + Result work 2022-02-26 17:52:24 +01:00
Brian Carroll
09b3ef90c4 Earthfile: install dependencies for Wasm REPL tests 2022-02-26 14:34:58 +00:00
Brian Carroll
cb1bbec5de Changes from PR self-review 2022-02-26 14:32:37 +00:00
Brian Carroll
85ade20b80 Formatting 2022-02-26 13:45:35 +00:00
Brian Carroll
b6fc8dea91 repl_test: reorganise modules 2022-02-26 13:27:08 +00:00
Brian Carroll
97fe32a018 repl_test: add REPL wasmer tests to CI 2022-02-26 13:13:57 +00:00
Brian Carroll
8a45311693 Tweak repl_www build script to use set -u 2022-02-26 13:13:57 +00:00
Brian Carroll
09c3f1591b repl_www: add instructions to README 2022-02-26 13:13:57 +00:00
Brian Carroll
713241670a repl_wasm: Fix bugs in wrapper function generation 2022-02-26 13:13:57 +00:00
Brian Carroll
7719f0646e repl_wasm: Graceful handling of invalid Wasm code gen 2022-02-26 13:12:52 +00:00
Brian Carroll
203fdab209 repl_wasm: rename modules interface -> externs 2022-02-26 13:12:52 +00:00
Brian Carroll
76b5982451 repl_test: use lazy_static to initialise wasm compiler once for all tests 2022-02-26 13:12:52 +00:00
Brian Carroll
0ba3c9293f repl_www: add a README with diagram 2022-02-26 13:12:52 +00:00
Brian Carroll
3537f90e6d repl: get Str working properly in CLI and Wasm REPLs 2022-02-26 13:12:52 +00:00
Brian Carroll
9544b3ba6c repl_wasm: update static assertions for struct sizes 2022-02-26 13:11:17 +00:00
Richard Feldman
67658ed7b5
Merge pull request #2593 from rtfeldman/nix-first
Put nix on top in BUILDING_FROM_SOURCE
2022-02-26 07:49:36 -05:00
Richard Feldman
d57334dd63
Merge pull request #2566 from rtfeldman/gui-example
GUI Example
2022-02-26 07:48:38 -05:00
Anton-4
1e20ff1a9a
Merge pull request #2579 from rtfeldman/underline_error
Editor: Underline Error
2022-02-26 11:44:00 +01:00
Anton-4
b46ef4d68d
fmt 2022-02-26 11:05:40 +01:00
Anton-4
26556c631b
refactor, allowed to specify full underline 2022-02-26 10:59:38 +01:00
Anton-4
a6fbe8fe8d
Put nix on top in BUILDING_FROM_SOURCE
Nix is the easiest way to build from source, it should be on top.
2022-02-26 08:54:44 +01: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