Commit Graph

913 Commits

Author SHA1 Message Date
Folkert
362ff74b82 clean up annotation canonicalization 2020-07-12 00:36:11 +02:00
Folkert
d7b2dc7a3b fix test failures caused by def reordering 2020-07-11 02:01:23 +02:00
Folkert
46639c5081 cleanup and comments 2020-07-11 01:51:38 +02:00
Folkert
ba38d4ec14 cleanup 2020-07-10 23:54:00 +02:00
Folkert
d6bdb45c82 Back in working order 2020-07-10 23:54:00 +02:00
Folkert
9aa05fdc4c WIP 2020-07-10 23:54:00 +02:00
Folkert
36ccafd8ab cleanup 2020-07-10 23:54:00 +02:00
Folkert
d61b8c88a1 implement Formattable for Pattern 2020-07-10 23:54:00 +02:00
Folkert
e18d3bbfe4 use Parens type in pattern formatting 2020-07-10 23:54:00 +02:00
Richard Feldman
6046d8ee8e Share more variables between builtins 2020-07-10 23:54:00 +02:00
Richard Feldman
f847693b7f Use debug_assert_eq! more 2020-07-10 23:54:00 +02:00
Folkert de Vries
3a6edd6594
Merge branch 'trunk' into format-annotations 2020-07-09 18:10:20 +02:00
Folkert
1ac1dd1f8f it does help when you add the new file 2020-07-09 18:05:17 +02:00
Folkert
672b67d527 initial version of annotation formatting 2020-07-09 17:41:21 +02:00
Folkert
732496231c expand some comments 2020-07-08 14:30:48 +02:00
Folkert
b7c35665aa report empty non-base-10 integers 2020-07-08 14:18:02 +02:00
Richard Feldman
2ea527a293 Fix missing function in --release builds 2020-07-07 22:55:07 -04:00
Richard Feldman
6eef203e99 Ignore zero-sized fields when unwrapping tag structs 2020-07-07 22:54:58 -04:00
Richard Feldman
ceefdc73b1 clippy stuff 2020-07-07 22:36:27 -04:00
Richard Feldman
4f007dd535 Drop unnecessary .into() 2020-07-07 22:36:24 -04:00
Richard Feldman
0ed1892329 (REVERT THIS!) Temporarily disable some tests
I want to merge this to prevent further merge
conflicts, and these seem fine to debug post-merge.
2020-07-07 22:34:09 -04:00
Richard Feldman
7938a31ce3 Re-add List.reverse (missed in merge) 2020-07-07 22:29:18 -04:00
Richard Feldman
cdce98d14f Unwrap the struct inside a single-tag union 2020-07-07 22:07:34 -04:00
Richard Feldman
2337d6638e Temporarily disable can_inline 2020-07-07 21:11:56 -04:00
Richard Feldman
1cd49689c2 Merge remote-tracking branch 'origin/trunk' into low-level-ops 2020-07-07 21:09:50 -04:00
Richard Feldman
e78064c037
Merge branch 'trunk' into number-error-reporting 2020-07-07 18:48:39 -04:00
Richard Feldman
6e290c4a82
Merge branch 'trunk' into uniqueness-pretty-printing 2020-07-07 18:42:52 -04:00
Folkert de Vries
593fe5ac56
Merge branch 'trunk' into number-error-reporting 2020-07-07 23:16:39 +02:00
Folkert
4aa66b2585 update comment 2020-07-07 22:56:46 +02:00
Folkert
edb79b8fce pretty error messages for floats 2020-07-07 22:53:54 +02:00
Folkert
9d67b11c0d pretty error messages for integers 2020-07-07 22:10:23 +02:00
Folkert
308a24b080 Revert "accept a newline and body when patterns are different"
This reverts commit a0d39ff10f.
2020-07-07 20:17:59 +02:00
Folkert
28ba5e6a99 fix other num functions 2020-07-07 19:02:05 +02:00
Folkert
1af180da48 fix div_f64 2020-07-07 18:54:43 +02:00
Folkert
a7971c738a fix f64_sqrt 2020-07-07 18:52:28 +02:00
Folkert
58dfeba043 accept a newline and body when patterns are different 2020-07-07 17:26:45 +02:00
Folkert
1b4c5cac25 fix failing tests 2020-07-07 17:17:55 +02:00
Richard Feldman
6bde717df8 Add some more i64_abs tests 2020-07-06 22:28:02 -04:00
Richard Feldman
35b653636b Fix Num.abs for ints 2020-07-06 22:27:53 -04:00
Richard Feldman
8d2961c81e Narrow down the problem with f64_sqrt and div_f64 2020-07-06 21:48:39 -04:00
Richard Feldman
9305ecc9bd Specify which test passed or failed 2020-07-06 21:25:54 -04:00
Richard Feldman
b5ad6e17b4 Don't print subs on error
It's way too verbose and unhelpful!
2020-07-06 21:23:59 -04:00
Folkert
ea314be5a2 sort in pretty printing for stable results 2020-07-06 21:46:15 +02:00
Folkert
e595c14fae wip 2020-07-06 20:38:10 +02:00
Richard Feldman
c28dd8fd19 Fix set_unique_int_list test 2020-07-05 22:58:07 -04:00
Richard Feldman
f584f4a226 Temporarily disable a test
It's not urgently important, and this branch needs to get merged!
2020-07-05 22:57:40 -04:00
Richard Feldman
57d84bdcc4 Fix polymorphic identity test 2020-07-05 22:51:46 -04:00
Richard Feldman
092df6ddb2 Account for unwrapped structs in AccessAtIndex 2020-07-05 22:41:07 -04:00
Richard Feldman
853462833c Unwrap around zero-sized record fields in code gen 2020-07-05 22:24:19 -04:00
Richard Feldman
e559deecbf Improve LLVM verification error messages 2020-07-05 22:24:04 -04:00