ayazhafiz
7383c57d7e
Clippy
2022-05-20 20:34:17 -04:00
Ayaz Hafiz
a4c122d5db
Validate derives clauses after solving
2022-05-20 15:56:55 -04:00
Ayaz Hafiz
312cdd0b70
Correct imports of Encode and abilities across modules
2022-05-19 18:21:40 -04:00
Richard Feldman
9c72e5e8ed
Remove unnecessary -> () function return types
2022-05-18 08:29:40 -04:00
Ayaz
d485869954
Merge pull request #3039 from rtfeldman/specializations-at-the-front
...
Opportunistically resolve specializations during solving
2022-05-11 13:42:19 -04:00
Ayaz Hafiz
da00c47102
Opportunistically resolve specializations during solving
2022-05-11 08:53:15 -04:00
Richard Feldman
fd40fed937
Fix a bunch of errors from clippy --tests
2022-05-10 15:21:48 -04:00
Ayaz Hafiz
7b195d5fdf
Abilities in aliases and external member defs are legal now
2022-05-08 15:08:16 -04:00
Richard Feldman
9dc05ac6d7
Drop unused variable
2022-05-05 17:36:36 -04:00
Richard Feldman
0f1e1d7659
Don't pass around an unnecessary Env
2022-05-04 21:36:47 -04:00
Folkert
6fb014baba
more cleanup
2022-04-30 01:25:27 +02:00
Folkert
8fe3e24c8b
step 4: new scope with passing reporting tests
2022-04-30 00:51:32 +02:00
Folkert
992575051a
remove identids from Env
2022-04-28 21:11:08 +02:00
Folkert
7fb5b23fb0
move identids into Scope
2022-04-28 21:08:28 +02:00
Folkert
37cb9279f5
prepare for all_ident_ids
2022-04-28 20:42:00 +02:00
Folkert
fb9d60226d
store `exposed_ident_ids in the scope itself
2022-04-28 20:30:02 +02:00
Folkert
d18c46550f
fix test building
2022-04-27 01:28:31 +02:00
Folkert
6ffe14809f
don't populate Scope with aliases
...
these are now properly imported. For testing reporting we still need a way
to provide them without resolving imports (just for speed)
2022-04-22 20:49:46 +02:00
Ayaz Hafiz
15a040ec87
Basic type inference and solving for abilities
...
Note that is still pretty limited. We only permit opaque types to
implement abilities, abilities cannot have type arguments, and also no
other functions may depend on abilities
2022-04-12 16:18:07 -04:00
Folkert
de37897df4
fix reporting tests compilation
2022-03-16 22:10:20 +01:00
Folkert
28ce49c273
use lazy_static
2022-03-12 00:18:06 +01:00
Folkert
49408d3a56
fix reporting tests
2022-03-11 22:56:29 +01:00
Folkert
30e7d94c95
clarify old constraint gen is now just for the builtins
2022-03-11 19:25:42 +01:00
Folkert
1a79870e1a
formatting
2022-03-06 20:43:29 +01:00
Folkert
836967b919
some other clippy things in tests
2022-03-06 19:07:38 +01:00
Folkert
97b0e3df9b
more efficient approach for finding new rigids
2022-03-05 14:50:23 +01:00
Folkert
f8021fb449
fix reporting tests
2022-03-02 22:17:25 +01:00
Folkert
1ef9546391
use Vec instead of MutMap
2022-02-28 23:54:35 +01:00
Joshua Warner
8092f31a29
fmt
2022-01-01 18:20:05 -08:00
Joshua Warner
5c1084c453
Introduce SourceError to represent an error + original source
2022-01-01 18:20:05 -08:00
Joshua Warner
f19220473a
Rename Located -> Loc
2021-12-22 19:18:22 -08:00
Callum Dunster
f972098e70
Move reporting module into root.
2021-11-16 19:58:21 +01:00