Commit graph

172 commits

Author SHA1 Message Date
Richard Feldman
dd460fb818
Use single-threaded builds in tests 2022-05-05 14:42:36 -04:00
Folkert
12ed674f61
turn test into const assert 2022-05-04 23:47:48 +02:00
Ayaz Hafiz
c5ff1ef803
Update Type2 size 2022-05-04 17:41:29 -04:00
Ayaz
84b3ef5fd7
Merge pull request #2978 from rtfeldman/scope-bitmask
Scope bitmask
2022-05-01 12:26:14 -04:00
Folkert
76754e4d2a
use &str instead of Ident in some key places 2022-04-30 20:43:12 +02:00
Ayaz Hafiz
83c6c3a17d
Remove Lowercase from Alias and Opaque 2022-04-29 11:36:31 -04:00
Ayaz
98a3523702
Merge pull request #2961 from rtfeldman/improved-identids
Improved identids
2022-04-27 10:11:06 -04:00
Folkert
d690d3f325
clippy 2022-04-26 20:26:13 +02:00
Folkert
c31b796938
more types! 2022-04-26 20:10:29 +02:00
Folkert
d3ef35d935
rename 2022-04-26 11:33:26 +02:00
Folkert
af6c3231f3
Improved IdentIds 2022-04-25 23:15:57 +02:00
Folkert
ae04887cb1
make IdentIds expose an iterator of &str 2022-04-25 23:15:56 +02:00
Richard Feldman
85e7969c2d
Replace references to "global tag" with "tag" 2022-04-25 17:04:34 -04:00
Ayaz Hafiz
0d24e279f1
Fix Ast2 constraining of opaques 2022-04-25 12:08:23 -04:00
Ayaz Hafiz
2ab01107d3
Removing extra private tag references 2022-04-25 11:43:55 -04:00
Ayaz Hafiz
37b9a34448
Remove private tags from Ast2 2022-04-25 11:22:32 -04:00
Ayaz Hafiz
1ed9cf551a
Remove private tags from Ast 2022-04-25 11:20:37 -04:00
Ayaz Hafiz
b6383f81ee
Numbers are opaques 2022-04-25 10:59:42 -04:00
Ayaz Hafiz
1e03ab8fe2
Update regions 2022-04-24 10:19:36 -04:00
Ayaz Hafiz
87245def0a
Clippy vs McGregor 2047 2022-04-23 10:56:54 -04:00
Folkert
8b144c446d
remove PartialEq for a bunch of types that we should not compare 2022-04-20 16:58:30 +02:00
Ayaz Hafiz
ce7c61eb09
Propogate render target forward 2022-04-12 16:18:07 -04:00
Ayaz Hafiz
b3aee4ba7c
Fix typecheck error 2022-04-08 08:54:31 -04:00
ayazhafiz
94a5cd3559 Improve shadow errors 2022-04-07 22:38:20 -04:00
Ayaz Hafiz
a3ac68a41f
Split up Defs into TypeDef and ValueDef
Just a refactoring PR. This is useful because during canonicalization
we always process type defs first, then value defs. With abilities this
distinction continues to grow; in that case, we have patterns associated
with types that we want to process before patterns from values.
2022-04-06 22:18:57 -04:00
Ayaz Hafiz
9fbc525d02
Make sure float suffixes are parsed out after can
Before we hit mono, we need to make sure the suffixes of numeric
literals are parsed out from the literal string, so that we don't try to
parse something whose type we already know but has the extraneous
suffix.

Co'ed with @tagraves
2022-04-05 11:32:34 -04:00
Richard Feldman
37182c971b
Merge pull request #2678 from rtfeldman/editor-new-examples-fix
fixed editor new project init for new example folder layout
2022-04-01 23:09:53 -07:00
Folkert
311e464b70
add load_internal 2022-03-23 15:18:22 +01:00
Richard Feldman
750fbf2dcf
Merge pull request #2766 from rtfeldman/simplify-identids
simplify IdentIds
2022-03-22 20:23:56 -04:00
Folkert
a67bb29a36
remove hashmap 2022-03-22 21:58:49 +01:00
Folkert
d8fa2b8d92
stop passing stdlib (use lazy_static) 2022-03-22 19:53:02 +01:00
Anton-4
74463add39
Merge branch 'trunk' into editor-new-examples-fix 2022-03-21 13:52:07 +01:00
Folkert
7d8409f6a6
write Aliases implementation 2022-03-15 22:02:04 +01:00
Folkert
4ef6cba23a
Merge branch 'split-types-values' into type-checking-storage-subs 2022-03-13 17:43:24 +01:00
ayazhafiz
d7abc3897b Parse abilities 2022-03-12 21:29:06 -06:00
Folkert
c79ecec56e
make SubsByModule opaque 2022-03-11 20:16:55 +01:00
Anton-4
62d249acd5
fixed editor new project init for new example folder layout 2022-03-08 14:21:26 +01:00
Anton-4
cbac0cf318
removed redundant roc_file.rs 2022-03-05 09:32:37 +01:00
Richard Feldman
c89a6c109a
Merge pull request #2627 from rtfeldman/constraints-soa
Constraints using Struct of Arrays
2022-03-04 19:39:03 -05:00
Folkert
ec099bbdec
WIP 2022-03-02 14:46:30 +01:00
Anton-4
5ec2125ac6
Merge branch 'trunk' into windows_fixes 2022-02-28 19:12:18 +01:00
Anton-4
b5d8ab7d6f cleanup 2022-02-28 18:26:55 +01:00
Anton-4
5f865a4a0c fmt 2022-02-28 18:18:41 +01:00
Anton-4
6acd2f338b successful cargo build on windows 2022-02-28 18:11:14 +01:00
Anton-4
784894bb8f
fixing windows cargo build errors 2022-02-28 13:48:11 +01:00
Richard Feldman
8ec7b26a1c
Merge pull request #2547 from rtfeldman/simplify-editor
simplify editor
2022-02-27 21:43:09 -05:00
ayazhafiz
059c324268 Error reporting for type mismatches involving opaques 2022-02-27 00:10:12 -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
Emi Simpson
40375adbb0
Merge remote-tracking branch 'upstream/trunk' into fix-panic-on-unimported-module 2022-02-25 09:18:19 -05:00