Commit graph

2985 commits

Author SHA1 Message Date
Folkert
78063f87d7 fix tag pattern argument bug 2020-11-09 23:22:08 +01:00
Folkert
58a7ea5572 fix unused argument formatting error 2020-11-09 22:31:05 +01:00
Folkert
33f65caedd alias referenced by another alias is not unused! 2020-11-09 22:22:00 +01:00
Folkert
0b19c594c5 improve compare/Order 2020-11-09 21:21:14 +01:00
Folkert
cc89088f60 thread through module timings 2020-11-09 21:20:57 +01:00
Folkert
0081c9ff77 fix tag test 2020-11-09 21:20:57 +01:00
Folkert
7e7fa4b4aa fix tag test 2020-11-09 20:11:39 +01:00
Folkert
0892451d47 more clippy 2020-11-09 20:03:10 +01:00
Folkert
f08f3e7510 cleanup 2020-11-09 19:53:03 +01:00
Folkert
492f0dcc84 add Effect.always and Effect.map 2020-11-09 19:14:26 +01:00
Folkert
14d6de626e add module for effect_module 2020-11-09 16:01:38 +01:00
Folkert
063492680f recursive functions cannot capture other recursive functions from their LetRec 2020-11-09 15:54:02 +01:00
Folkert
41c5101799 more tests 2020-11-09 14:28:31 +01:00
Richard Feldman
54de538952
Merge pull request #666 from rtfeldman/return-function
Return function pointers and closures
2020-11-08 22:21:01 -05:00
Richard Feldman
8577efd9c3
Merge branch 'trunk' into new-annotated-body 2020-11-08 22:11:48 -05:00
Richard Feldman
ef90103353
Update compiler/fmt/src/def.rs 2020-11-08 22:11:38 -05:00
lrosa007
de33e9b388 fix(List): contains list can be borrowed 2020-11-08 20:17:05 -05:00
Folkert
65c1e0e5b1 appease clippy 2020-11-09 02:02:20 +01:00
Folkert
b044a0b8a8 remove comment inbetween signature and definition in test 2020-11-09 02:02:11 +01:00
Folkert
4868c0bd25 fix problem with patterns and optional record fields 2020-11-09 01:04:40 +01:00
Folkert
2d9f81ec9b fix mono error 2020-11-09 00:22:16 +01:00
Folkert
3f485b63d6 cleanup 2020-11-09 00:16:04 +01:00
Folkert
0d5aaf2aaa make getLine : Effect {} work 2020-11-08 23:36:08 +01:00
Chad Stearns
b551ba0f0e Fix llvm name 2020-11-08 15:25:06 -05:00
Chad Stearns
58f0c48338 Str.split works for big str 2020-11-08 15:01:52 -05:00
Chad Stearns
b102511d9e Easier to read and reason about big str split tests 2020-11-08 15:01:44 -05:00
Chad Stearns
b4ecf3c12f Make zig builtins recompilation sensitive to all zig files 2020-11-08 15:01:08 -05:00
Chad Stearns
481bca3b44 Pass in pointers into Str split in place bitcode function, not actual strs 2020-11-08 13:04:36 -05:00
Chad Stearns
9bedb818cb Fix spelling error in bitcode function name 2020-11-08 13:04:13 -05:00
Folkert
1bce119b0a allow returning of funtions
e.g.

foo = Num.add
2020-11-08 15:49:24 +01:00
Sébastien Besnier
099c56fcf6 make compiler happy after rebasing 2020-11-08 13:55:01 +01:00
Sébastien Besnier
66392eeeaf other parsing adjustment! 2020-11-08 13:48:19 +01:00
Sébastien Besnier
bf68477c8a cargo fmt 2020-11-08 13:48:19 +01:00
Sébastien Besnier
45fb93d4ac comment out parsing test 2020-11-08 13:48:19 +01:00
Sébastien Besnier
420e1c84e0 make clippy happy 2020-11-08 13:48:19 +01:00
Sébastien Besnier
1c5f381c09 cargo fmt 2020-11-08 13:48:19 +01:00
Sébastien Besnier
8ac078936a add some tests around definition parsing -- all passing at the first time ! 2020-11-08 13:48:19 +01:00
Sébastien Besnier
a6a4750501 fix parsing issue 2020-11-08 13:48:19 +01:00
Richard Feldman
6db4bd6ed4 Drop spaces around fields in canonicalization 2020-11-08 13:48:19 +01:00
Richard Feldman
5f82372899 Fix AnnotatedBody desugaring 2020-11-08 13:48:19 +01:00
Richard Feldman
6c01d02de0 Make ann_pattern and ann_type references 2020-11-08 13:48:19 +01:00
Richard Feldman
b0e4f4c97f Reproduce nested_unannotated body 2020-11-08 13:48:19 +01:00
Richard Feldman
93867b1a1b Improve some error reporting 2020-11-08 13:48:19 +01:00
Richard Feldman
77662970e9 Drop debug println 2020-11-08 13:48:19 +01:00
Richard Feldman
4633619e18 Use newline_char over ascii_char('\n') 2020-11-08 13:48:19 +01:00
Sébastien Besnier
01b9b4a08d update nested test 2020-11-08 13:45:47 +01:00
Sébastien Besnier
ad9ff3b3a9 add nested tests 2020-11-08 13:45:47 +01:00
Sébastien Besnier
9b670bf092 remove unreachable branch 2020-11-08 13:45:47 +01:00
Sébastien Besnier
cfbfbf09be cargo fmt 2020-11-08 13:45:47 +01:00
Sébastien Besnier
94006f1d8f make clippy happy.... again 2020-11-08 13:45:47 +01:00