Commit graph

166 commits

Author SHA1 Message Date
Folkert
9b63e6a3a9
simplify IntroducedVariables 2022-03-18 23:47:39 +01:00
Brian Carroll
9cb6261a4d
Merge pull request #2736 from rtfeldman/wasm-repl-palette
Web REPL error styling
2022-03-18 12:00:44 +00:00
Brian Carroll
9793fa5ab6
Fix bold and underline HTML styles
Co-authored-by: hafiz <20735482+ayazhafiz@users.noreply.github.com>
2022-03-18 07:03:22 +00:00
Folkert
a3b00fbf55
Merge branch 'explicit-closed-tag-record' into delay-instantiating-aliases 2022-03-17 20:34:52 +01:00
Brian Carroll
0d7a7fe34f reporting: generalise text styles to work with HTML as well as ANSI 2022-03-17 09:35:58 +00:00
Folkert
de37897df4
fix reporting tests compilation 2022-03-16 22:10:20 +01:00
ayazhafiz
8aaf614481 Improve error message 2022-03-15 11:18:02 -05:00
ayazhafiz
787c8ee3a5 s/occurence/occurrence/g 2022-03-14 17:50:55 -05:00
ayazhafiz
3da34fc843 Report unbound type variables in aliases, opaques
Closes #2726
2022-03-14 17:42:45 -05:00
ayazhafiz
01b5109672 Fix reporting test 2022-03-13 19:47:01 -05:00
Folkert
4ef6cba23a
Merge branch 'split-types-values' into type-checking-storage-subs 2022-03-13 17:43:24 +01:00
Folkert
8bc31e82c3
try to keep type and value symbols separate 2022-03-13 16:50:32 +01:00
ayazhafiz
aa9ea8ba36 Redundant reference 2022-03-12 23:24:32 -06:00
ayazhafiz
d92a5b9424 Reporting for abilities parsing 2022-03-12 22:08:01 -06:00
Folkert
e3e9215578
Merge remote-tracking branch 'origin/trunk' into type-checking-storage-subs 2022-03-12 14:10:43 +01:00
Folkert
28ce49c273
use lazy_static 2022-03-12 00:18:06 +01:00
Derek Gustafson
e9d99862da
Fix failing test. 2022-03-11 17:26:08 -05: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
Derek Gustafson
133d74cc82
Merge branch 'trunk' into typecheck-panic 2022-03-11 10:02:08 -05:00
Folkert
768703c5df
update reporting; suggestions now have Box in scope 2022-03-09 16:12:11 +01:00
Derek Gustafson
9284d2733f
Fix fmt errors. 2022-03-08 13:49:53 -05:00
Derek Gustafson
05c888de56
Move UnknownType panic test from cli_run to test_reporting. 2022-03-08 13:20:31 -05:00
Derek Gustafson
aea55e5bf5
Fix panic on unknown type reaching typechecker. 2022-03-08 11:40:01 -05:00
Derek Gustafson
ba6b225761
Hide RocDec implemntation details. 2022-03-07 15:34:02 -05: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
ayazhafiz
74c972916d Remove unnecessary whitespace in reporting tests 2022-03-06 22:17:22 -05:00
ayazhafiz
eed7e3df71 Report invalid extension types during canonicalization
Closes #2541
2022-03-06 22:17:22 -05: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
ayazhafiz
6672a174f2 Mention lack of if clause in missing guard pattern 2022-03-06 09:51:38 -05:00
ayazhafiz
cc07c93fc3 Add note about lack of a guard in missing tag 2022-03-05 13:34:49 -05:00
ayazhafiz
81481e2599 Report non-exhaustive patterns with guards 2022-03-05 13:30:02 -05:00
Folkert
f2fa625886
add test 2022-03-05 16:48:33 +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
a4889fd571
we are compiling 2022-03-02 18:48:34 +01:00
Folkert
01a7fe77d4
even more wip 2022-03-02 17:32:50 +01:00
Folkert
ec099bbdec
WIP 2022-03-02 14:46:30 +01:00
Richard Feldman
887a07b455
Merge pull request #2596 from rtfeldman/joshuawarner32/listclosing-braces
Allow closing braces in collections to be at any indent level
2022-02-28 20:00:44 -05:00
Folkert
1ef9546391
use Vec instead of MutMap 2022-02-28 23:54:35 +01:00
ayazhafiz
b9a29bdb16 Make exhaustive checking its own crate
Prepares for moving exhaustiveness checking to the closer typechecking
phase. Doing this one step at a time so that git preserves the rename.
2022-02-27 20:28:25 -05:00
Joshua Warner
3db961106e Remove now failing tests 2022-02-27 14:16:06 -08:00
ayazhafiz
69953c74ad Fix missing test annotation 2022-02-27 15:51:27 -05:00
ayazhafiz
720b7b49d2 Improve error pattern and fix tests 2022-02-27 12:01:12 -05:00
ayazhafiz
34900c1f55 Address @rtfeldman review 2022-02-27 00:11:11 -05:00
ayazhafiz
07b1829732 Improve error reporting for patterns not matching opaques 2022-02-27 00:11:11 -05:00
ayazhafiz
68d28349ed Exhaustiveness checking opaque patterns 2022-02-27 00:10:12 -05:00
ayazhafiz
059c324268 Error reporting for type mismatches involving opaques 2022-02-27 00:10:12 -05:00