Commit graph

390 commits

Author SHA1 Message Date
Folkert
dab804dca1
record how many clones of Type occur 2022-03-16 18:30:59 +01:00
Folkert
d187d43a0c
add a bunch of implementations of Type functions for DelayedAlias 2022-03-16 18:30:46 +01:00
Folkert
7d8409f6a6
write Aliases implementation 2022-03-15 22:02:04 +01:00
Folkert
a66d23f93d
add substitute_variable 2022-03-14 22:23:26 +01:00
Folkert
18ca42d767
make Type::substitute use an explicit stack 2022-03-14 22:20:59 +01:00
Folkert
0c5e4df215
remember which variables went where 2022-03-14 21:11:35 +01:00
Folkert
6838891d1b
refactor deep_copy_var_to 2022-03-14 21:08:40 +01:00
Folkert
00f3eaf2a1
thread through DelayedAlias 2022-03-14 19:47:19 +01:00
Folkert
7127157962
refactor 2022-03-14 19:21:38 +01:00
Folkert
9a40bcb427
add another comment 2022-03-13 18:32:56 +01: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
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
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
e335480003
fix copying of error type 2022-03-11 19:55:24 +01:00
Folkert
d4da4fed88
cleanup 2022-03-11 19:41:30 +01:00
Folkert
30e7d94c95
clarify old constraint gen is now just for the builtins 2022-03-11 19:25:42 +01:00
Folkert
5cfd3c5ea8
add function to import/export types from a subs 2022-03-11 17:24:55 +01:00
Folkert
fa74cf1424
improve scratchpad taking/putting 2022-03-11 10:49:00 +01:00
Folkert
affacb66be
optimize Type::symbols() 2022-03-11 09:51:06 +01:00
Folkert
3510bad1d5
add scaffolding 2022-03-07 20:55:40 +01:00
Folkert de Vries
ce1839133b
Merge pull request #2661 from rtfeldman/i/2541
Report invalid extension types during canonicalization
2022-03-07 16:12:04 +01:00
ayazhafiz
47e4904075 Chase aliases when checking for valid extension types 2022-03-06 22:17:58 -05:00
Folkert
ba2f9ba779
Merge remote-tracking branch 'origin/trunk' into content-flattype-copy 2022-03-06 20:52:04 +01:00
Folkert de Vries
27f367ec23
Merge pull request #2656 from rtfeldman/type-to-var-tco
Optimize type_to_variable
2022-03-06 20:44:14 +01:00
Folkert
a9c8e2dc3e
copy instead of clone Content 2022-03-06 19:07:18 +01:00
Folkert
1ff8261a66
make Content Copy 2022-03-06 18:51:23 +01:00
Folkert
29bf4195a1
make FlatType Copy 2022-03-06 18:15:26 +01:00
Folkert
41e56519ef
prevent a subs lookup by reserving a Variable 2022-03-06 18:00:25 +01:00
Folkert
8b526e4f58
clippy 2022-03-06 14:54:19 +01:00
Folkert
a37a895016
optimize tag name cache 2022-03-06 14:11:33 +01:00
Folkert de Vries
21ca144de9
formatting 2022-03-06 01:04:54 +01:00
Folkert
628f14fa7b
fix accidentally remove line 2022-03-06 00:35:45 +01:00
Folkert
6906d64ec3
optimize occurs 2022-03-05 23:45:15 +01:00
Folkert
97d9027271
improve pool_to_rank_table 2022-03-05 23:44:57 +01:00
Folkert
80956061dd
fix formatting bug in type pretty-print 2022-03-05 15:03:59 +01:00
Folkert
ec099bbdec
WIP 2022-03-02 14:46:30 +01:00
ayazhafiz
059c324268 Error reporting for type mismatches involving opaques 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
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
Brendan Hansknecht
f7c0e2ef19 Merge remote-tracking branch 'origin/trunk' into single-quote-literal 2022-02-24 10:13:39 -08:00
ayazhafiz
075c5b3eee Typo 2022-02-21 18:36:28 -05:00
ayazhafiz
90de82e295 Validation of opaques during canonicalization 2022-02-21 18:25:19 -05:00
ayazhafiz
6b53692aac Canonicalize opaque types 2022-02-20 13:47:01 -05:00
Brian Carroll
3e511acbcc Fix Wasm compile errors 2022-02-14 21:10:45 +00:00
ayazhafiz
67bb5b14f6 Examples as code block not doc 2022-02-12 21:08:23 -05:00