Commit graph

7369 commits

Author SHA1 Message Date
Richard Feldman
422a88eced
Merge pull request #2722 from rtfeldman/various-bug-fixes
Various recently filed bug fixes
2022-03-13 22:18:39 -04:00
ayazhafiz
530fa9943a Generate unsigned div and modulo correctly
Closes #2705
2022-03-13 18:44:38 -05:00
ayazhafiz
5670fe06cd Deal with destructuring tag unions behind opaques correctly
Closes #2702
2022-03-13 18:44:38 -05:00
Folkert
872d32652a
remove clone, yay 2022-03-13 22:58:16 +01:00
Folkert
f7ba9918fa
use equal_types_with_storage in opaque type constraining 2022-03-13 22:54:13 +01:00
Folkert
80af910c4f
use equal_types_with_storage in tag constraining 2022-03-13 22:53:22 +01:00
Folkert
7df4465a6e
use equal_types_with_storage in Lambda constraining 2022-03-13 22:47:25 +01:00
Folkert
f23945ad94
use equal_types_with_storage in record constraining 2022-03-13 22:47:07 +01:00
Folkert
6baae55980
add equal_types_with_storage helper 2022-03-13 22:46:41 +01:00
Folkert
e8bf5fa378
prevent clone for all function signatures 2022-03-13 22:35:56 +01:00
Folkert
9a40bcb427
add another comment 2022-03-13 18:32:56 +01:00
Folkert
15ac77567a
make rigid variable introducion more obvious 2022-03-13 18:27:42 +01:00
Folkert
97742b3238
clarify variable name 2022-03-13 17:59:44 +01:00
Folkert
d31ea3e71f
clarify import constraint 2022-03-13 17:59:33 +01:00
Folkert
b3f7b3a337
record referenced types 2022-03-13 17:52:31 +01:00
Folkert
4ef6cba23a
Merge branch 'split-types-values' into type-checking-storage-subs 2022-03-13 17:43:24 +01:00
Folkert
66676e0ab9
factor out to separate function 2022-03-13 17:15:59 +01:00
Folkert
fe72008845
remove unused module checking from Solve step 2022-03-13 17:05:32 +01:00
Folkert
496c283491
replicate unused module check after canonicalization 2022-03-13 17:03:54 +01:00
Folkert
563ba6acbb
incorporate referenced types 2022-03-13 16:57:42 +01:00
Folkert
8bc31e82c3
try to keep type and value symbols separate 2022-03-13 16:50:32 +01:00
Folkert
d6c9e0c625
real unsafe now 2022-03-13 16:50:03 +01:00
Richard Feldman
f38b3a1859
Merge pull request #2714 from rtfeldman/abilities-parsing
Parse abilities
2022-03-13 10:36:06 -04:00
Richard Feldman
546db0cf14
Merge pull request #2708 from rtfeldman/docs-for-dict
Update docs for `Dict`
2022-03-13 10:29:59 -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
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
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