Commit graph

15 commits

Author SHA1 Message Date
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
Renamed from compiler/reporting/tests/helpers/mod.rs (Browse further)