Folkert
f0aa598ff9
use tag id instead of name in exhaustiveness checking
2020-04-21 16:24:43 +02:00
Folkert de Vries
e00356d0c4
Merge branch 'trunk' into refactor-specializations
2020-04-18 23:35:21 +02:00
Richard Feldman
53ecf6df3e
Drop some unnecessary parens
2020-04-18 15:32:17 -04:00
Richard Feldman
f0d76825d2
Extract specializations from PartialProc
2020-04-18 11:24:25 -04:00
Richard Feldman
ea713023e8
Add explicit OptLevel to add_passes
2020-04-16 20:26:08 -04:00
Richard Feldman
2a03a74135
Use the equivalent of -O3 in Inkwell
2020-04-16 19:26:25 -04:00
Richard Feldman
1c1fee7e31
Trim trailing space off pretty_assertions dep
2020-04-16 19:24:24 -04:00
Folkert
aea48f703a
working parser error
2020-04-16 01:30:28 +02:00
Folkert
719ef5b70e
parse error infrastructure
2020-04-15 21:10:42 +02:00
Folkert
e21cdfc689
bring parse errors into the reporting tests
2020-04-15 19:49:05 +02:00
Richard Feldman
1517581ced
Load main
in the CLI and use it for gen
2020-04-15 07:06:11 -04:00
Richard Feldman
9ca754b8fd
First pass at loading modules from cli
2020-04-15 07:06:11 -04:00
Richard Feldman
62186fdda4
Add load tests for apps
2020-04-15 07:06:11 -04:00
Richard Feldman
6c6e1d9ee3
Update some interface tests
2020-04-15 07:06:11 -04:00
Richard Feldman
d994d11760
Parse app module headers.
2020-04-15 07:06:11 -04:00
Richard Feldman
5980bc38da
Merge remote-tracking branch 'origin/trunk' into order-of-ops
2020-04-15 05:03:42 -04:00
Folkert
c42b5a1e5b
improved phantom type message
2020-04-14 21:27:29 +02:00
Folkert
7e4a1ef4bd
better message for duplicate fields/tags
2020-04-14 21:18:37 +02:00
Chad Stearns
3f7d1cf33a
Merge branch 'trunk' of github.com:rtfeldman/roc into format-precedence-conflict
2020-04-13 22:30:34 -04:00
Folkert
18c6c37c04
fix self-recursive alias case
2020-04-14 01:33:16 +02:00
Folkert
63bc923b37
remove panic
2020-04-13 22:54:24 +02:00
Folkert
f6af66f342
record, tag, alias errors
...
- duplicate fields and tags are reported
- circular aliases are reported
2020-04-13 20:53:16 +02:00
Folkert
0372b34e86
fix comments
2020-04-12 22:00:44 +02:00
Folkert
c69b0d69e5
fix enum and bool pattern match suggestions
2020-04-12 21:47:15 +02:00
Folkert
7632a4b484
highlight code snippets better
2020-04-12 20:59:16 +02:00
Folkert
c326b09964
errors for patterns
2020-04-12 16:39:54 +02:00
Folkert
97c10e1211
setup for mono reports
2020-04-12 01:56:57 +02:00
Folkert
d15bd07bf4
de-alias when diffing with a non-alias
...
When one of the types in a comparison is an alias, elm does not de-alias it.
That is really annoying if e.g. the alias is of a record and you used an invalid field: the field suggestion error does not kick in
2020-04-11 23:57:00 +02:00
Folkert
2811f978a4
make a Index data type
2020-04-11 20:40:25 +02:00
Folkert
ab19529077
record update hints
2020-04-11 14:55:12 +02:00
Folkert
06cd298126
add cycle helper
2020-04-10 23:26:30 +02:00
Folkert
931567ac4d
a working state again
2020-04-10 22:07:02 +02:00
Folkert
3187138084
WIP convert all the type_error things
2020-04-10 18:07:16 +02:00
Folkert
1672b89e19
circular types with pretty
2020-04-10 14:48:34 +02:00
Folkert
fcb62cdf8e
add titles to errors
2020-04-09 23:58:28 +02:00
Folkert
c2ad8dfe7e
use pretty.rs more
2020-04-09 23:27:11 +02:00
Folkert
fd7ca5bcc9
don't add guarded record fields into scope
2020-04-09 01:08:09 +02:00
Folkert
85e2cf4465
add a bunch of hints
2020-04-09 01:08:09 +02:00
Folkert
5e226ee5f4
convert type problems into pretty doc
2020-04-09 01:08:09 +02:00
Folkert
a587e31897
complete pattern_to_doc
2020-04-09 01:08:09 +02:00
Richard Feldman
9288e20469
Upgrade to LLVM 10
2020-04-08 06:41:53 -04:00
Folkert
7e4e3c93d5
cleanup
2020-04-07 21:12:56 +02:00
Folkert
7f999a06f3
add When pattern errors
2020-04-07 18:06:00 +02:00
Folkert
2d1a1621c3
add NoExpectation type error
2020-04-07 13:35:38 +02:00
Folkert
ccd021a755
add FnCall error message
2020-04-07 13:31:48 +02:00
Folkert
02e42b0abc
add from annotation cases
2020-04-06 22:59:21 +02:00
Folkert
67f8f2e943
improve tag union errors
2020-04-06 21:40:54 +02:00
Folkert
3f4346f573
stop unification when ext vars don't unify
2020-04-06 21:40:54 +02:00
Folkert
2d6e47b8a6
test for record diff
2020-04-06 21:40:54 +02:00
Folkert
fc8d9c2fd9
record diff
2020-04-06 21:40:54 +02:00