Commit graph

13739 commits

Author SHA1 Message Date
Richard Feldman
63086ecb2e
Give Maybe its own section 2022-03-13 10:17:26 -04:00
Folkert
6a227b30d5
real unsafe now 2022-03-13 14:33:37 +01:00
Folkert
523032c6c9
more comments 2022-03-13 14:05:53 +01:00
Folkert
61b4ee054a
rename function 2022-03-13 13:54:03 +01:00
Folkert
f97b10c6f3
clarify why builtins are skipped 2022-03-13 13:51:25 +01:00
Folkert
ed247c9da3
Merge remote-tracking branch 'origin/trunk' into type-checking-storage-subs 2022-03-13 13:43:00 +01:00
Folkert
a9849a6ffc
add clarifying comments to Constraints 2022-03-13 13:42:49 +01:00
ayazhafiz
84c7c49110 Fix parse error 2022-03-12 23:55:33 -06:00
ayazhafiz
549d326be8 Merge branch 'abilities-parsing' of https://github.com/rtfeldman/roc into abilities-parsing 2022-03-12 23:24:50 -06:00
ayazhafiz
aa9ea8ba36 Redundant reference 2022-03-12 23:24:32 -06:00
hafiz
7de55076b5
Update compiler/parse/src/type_annotation.rs
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2022-03-12 23:23:09 -06:00
Richard Feldman
0b3fb576d4
Merge remote-tracking branch 'origin/trunk' into abilities-parsing 2022-03-12 23:43:52 -05:00
Richard Feldman
da64cc0a1d
cargo fmt 2022-03-12 23:43:45 -05:00
hafiz
d8a9b804c2
Merge pull request #2711 from rtfeldman/compact-constraints
Compact constraints
2022-03-12 22:18:21 -06:00
ayazhafiz
d92a5b9424 Reporting for abilities parsing 2022-03-12 22:08:01 -06:00
ayazhafiz
d7abc3897b Parse abilities 2022-03-12 21:29:06 -06:00
Richard Feldman
e1cc3edb48
Update docs for Dict 2022-03-12 21:59:37 -05:00
Richard Feldman
1b0ff9c163
Merge pull request #2707 from rtfeldman/repl-www-stack-traces
Better console errors for web REPL
2022-03-12 20:12:59 -05:00
Folkert
8b2c1707d4
don't even create a type if we only need a variable 2022-03-13 02:12:45 +01:00
Folkert
eccb461b01
get fancy, store variable directly in the index 2022-03-13 01:59:28 +01:00
Folkert
b3d9f9c2de
use EitherIndex<Type, Variable> to halve number of types stored 2022-03-13 01:46:49 +01:00
Folkert
da03b0c2b3
add either_type_index_to_var 2022-03-13 01:45:23 +01:00
Folkert
59c2c05588
add EitherIndex type 2022-03-13 01:44:47 +01:00
Brian Carroll
52050cac0b repl_www: Commit JavaScript crimes to display console errors on the page. 2022-03-12 22:12:42 +00:00
Brian Carroll
be72439acc repl_wasm: disable console_error_panic_hook for tests 2022-03-12 19:23:17 +00:00
Brian Carroll
4f7591f963 repl_wasm: forward Rust panics to JS console.error
I can't believe this isn't the default for wasm_bindgen, but it isn't!
2022-03-12 15:38:52 +00:00
Brian Carroll
45fd3d79a7 repl_www: include debug info in repl .wasm file, for useful stack traces 2022-03-12 15:28:50 +00:00
Folkert
26d197c196
enable flex var variable name copying when importing 2022-03-12 14:19:40 +01:00
Folkert
e3e9215578
Merge remote-tracking branch 'origin/trunk' into type-checking-storage-subs 2022-03-12 14:10:43 +01:00
Folkert
6bb8bcb5a2
cleanup 2022-03-12 14:02:34 +01:00
Folkert
d9c3a7ddd9
get rid of unneeded field on SolvedModule 2022-03-12 14:00:51 +01:00
Folkert
c64f768abe
more comments 2022-03-12 13:52:13 +01:00
Folkert
b78e63ae19
rename var 2022-03-12 13:47:14 +01:00
Folkert
e463afe0d9
comments on datastructures in module.rs 2022-03-12 13:43:26 +01:00
Folkert
401b3fd5ad
improve Constraint Debug impl 2022-03-12 13:31:58 +01:00
Folkert
8b92401d01
document let_import_constraint 2022-03-12 13:28:24 +01:00
Folkert de Vries
1ae5ccaa83
Merge pull request #2687 from rtfeldman/update-mono-list-replace
bump mono tests after List.replace being used in List.set
2022-03-12 13:20:43 +01:00
Anton-4
d800edf5a7
no more magic constants 2022-03-12 11:16:01 +01:00
Brian Carroll
1afada4075 wasm: fix panic on empty Struct expression 2022-03-12 09:30:27 +00:00
hafiz
28a3ae85e3
Merge pull request #2704 from rtfeldman/num-to-nat
Add `Num.toNat`
2022-03-11 18:46:43 -06:00
hafiz
a716a3c7bd
Merge pull request #2690 from rtfeldman/typecheck-panic
Fix panic on unknown type reaching typechecker.
2022-03-11 18:46:24 -06:00
hafiz
5bc29c9b88
Merge pull request #2700 from rtfeldman/optimize-instantiate-alias
improve `correct_mutual_recursive_type_alias`
2022-03-11 17:29:51 -06:00
Folkert
28ce49c273
use lazy_static 2022-03-12 00:18:06 +01:00
Folkert
e1d5b748b1
fix wasm/dev tests 2022-03-12 00:13:49 +01:00
Folkert
5006b2afa3
playing with atomics to get the global stdlib to work 2022-03-11 23:39:55 +01:00
Derek Gustafson
e9d99862da
Fix failing test. 2022-03-11 17:26:08 -05:00
Folkert
7a7a99f118
handle some edge cases 2022-03-11 23:09:04 +01:00
Folkert
49408d3a56
fix reporting tests 2022-03-11 22:56:29 +01:00
Folkert
11da96b286
make borrow_stdlib threadsafe 2022-03-11 22:49:29 +01:00
Folkert
01b810266b
test cleanup 2022-03-11 22:15:36 +01:00