Commit graph

1721 commits

Author SHA1 Message Date
Richard Feldman
df4c780aa9
Merge branch 'trunk' into fuzz 2020-11-01 16:58:05 -05:00
Brendan Hansknecht
46459bf8dc Merge branch 'fuzz' of github.com:rtfeldman/roc into fuzz 2020-11-01 09:42:22 -08:00
Brendan Hansknecht
936521db1f Make clippy happy 2020-11-01 09:41:46 -08:00
lrosa007
bd696e1f6f feat(builtins): Num.asin : Float -> Float 2020-11-01 09:54:00 -05:00
lrosa007
4da2d7f101 feat(builtins): Num.acos : Float -> Float 2020-11-01 09:27:42 -05:00
Richard Feldman
2f2e67059b
Merge branch 'trunk' into fuzz 2020-11-01 08:57:19 -05:00
Brendan Hansknecht
11752117a5 Add other fuzz target 2020-10-31 18:56:08 -07:00
Brendan Hansknecht
2b4c873c73 Add README about running the fuzzer 2020-10-31 10:50:34 -07:00
Folkert
6ecb3b36d0 cleanup based on review 2020-10-31 15:57:15 +01:00
Folkert
b075c2d394 clean up imports 2020-10-31 15:36:46 +01:00
Folkert
6c578440e0 remove uniqueness alias lifting 2020-10-31 15:35:17 +01:00
Folkert
4bd723b353 remove more unneeded alias things 2020-10-31 15:33:43 +01:00
Folkert
09ad286123 remove unused function 2020-10-31 15:29:36 +01:00
Folkert
8b3b677439 remove aliases from Let and LetCon 2020-10-31 15:27:24 +01:00
Brendan Hansknecht
d00189530a Add fuzzing to the parser.
As part of this, todos and panics where moved outside of this module
to elsewhere when they would cause fuzzing to fail.
2020-10-30 22:04:54 -07:00
Folkert
51506c11cb Merge remote-tracking branch 'origin/trunk' into fix-alias-inference 2020-10-30 22:45:52 +01:00
Folkert
9e981c264e fix clippy issues 2020-10-30 22:28:55 +01:00
Folkert
40bf9be1e2 fix bugs exposed by reporting tests 2020-10-30 22:15:28 +01:00
Folkert
5017a456be for now, allow work to be done twice
the scheduler can request that the same file is parsed/canonicalized/etc twice
we need to find a good solution so that no work is repeated
2020-10-30 21:57:54 +01:00
Folkert
247071668e import aliases and put them in the scope 2020-10-30 19:59:09 +01:00
Folkert
58467d6515 get tests back up an running 2020-10-30 16:58:53 +01:00
Richard Feldman
9acfa8d0d4
Merge pull request #619 from rtfeldman/str-split-bitcode
Str split bitcode
2020-10-29 20:54:56 -04:00
Folkert
dd4609fe79 remove unused function 2020-10-30 01:53:11 +01:00
Folkert
cba841601b fix some uniqueness issues 2020-10-30 01:50:57 +01:00
Folkert
22319aa116 deliberately ignore uniqueness tests with rigids/recursive tag unions 2020-10-30 01:50:37 +01:00
Folkert
f758958d4a deliberately don't run some tests in opt mode 2020-10-30 01:44:54 +01:00
Folkert
c6633ece7c cleanup unused code 2020-10-30 00:38:00 +01:00
Folkert
73e0ea2e5d fix some mistakes 2020-10-30 00:35:40 +01:00
Folkert
5d3f969a84 handle as aliases correctly 2020-10-30 00:20:10 +01:00
Jared Ramirez
08b78e9c9b Follow Zig conventions; Update zig bitcode export fn names; Update rust
to use bitcode fn name consts;
2020-10-29 15:43:22 -07:00
Folkert
b3c0fa63d3 remove unneeded argument 2020-10-29 22:34:12 +01:00
Folkert
b75880bed2 expand aliases before/during canonicalization 2020-10-29 22:33:18 +01:00
Folkert
33ac8f6892 refactor some things 2020-10-29 22:31:47 +01:00
Folkert
8a50d48ce2 expand aliases used in constraint gen 2020-10-29 22:31:14 +01:00
Folkert
2478ae05b1 expand aliases from the very beginning 2020-10-29 22:30:54 +01:00
Jared Ramirez
de36c8e270 Use undefined differntly; Update linger snake case name 2020-10-29 11:27:34 -07:00
Pit Capitain
233979468b Merge branch 'trunk' into fix-walk-right 2020-10-29 17:45:46 +01:00
Jared Ramirez
951f81d24f Use undefined more! 2020-10-29 08:58:05 -07:00
Jared Ramirez
c47c7f3d96 Add RocStr.eq function & simplify tests; Normalize func/var naming 2020-10-29 08:56:11 -07:00
Pit Capitain
3f91bd4b23 Fix bug in List.walkRight accumulator types 2020-10-29 16:31:07 +01:00
Pit Capitain
c8e1937ebe Add failing tests for bug in List.walkRight
List.walkRight currently can't handle accumulators that aren't integers,
for example strings or records.
2020-10-29 16:29:31 +01:00
Chadtech
aa0eff1645
Merge branch 'trunk' into str-split-bitcode 2020-10-29 09:41:19 -04:00
Folkert
a0c8915678 Merge remote-tracking branch 'origin/trunk' into fix-alias-inference 2020-10-29 14:40:55 +01:00
Richard Feldman
9c14545db2
Merge branch 'trunk' into str-split-bitcode 2020-10-28 21:04:45 -04:00
Richard Feldman
49876a1621
Merge branch 'trunk' into llvm-as 2020-10-28 21:04:34 -04:00
Richard Feldman
b1d2e87401 Use assert_eq over assert 2020-10-28 20:33:42 -04:00
Richard Feldman
675c46816a Explicitly use llvm-as-10 2020-10-28 20:19:50 -04:00
Chad Stearns
a93f18fad4 Added some comments to the tests, since they arent that human readable 2020-10-28 20:00:14 -04:00
Chad Stearns
65f2b2377f Deleted test ll 2020-10-28 19:51:22 -04:00
Chad Stearns
f2983f1360 Resolve conflicts 2020-10-28 19:48:33 -04:00