Commit graph

2985 commits

Author SHA1 Message Date
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
Pablo Hirafuji
29f9364696 Merge branch 'trunk' into fix/docs-tests 2020-10-30 06:54:19 -03: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
Chad Stearns
a9c0185225 Bringing in remote trunk 2020-10-28 21:24:15 -04: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
Folkert
ee23e5979d pass argument by reference 2020-10-29 00:35:10 +01:00
Chad Stearns
786445ea33 segment_count_ tests, and some clean up 2020-10-28 19:29:55 -04:00
Folkert
592f2cb545 use in-place mutation when changing variable descriptor contents 2020-10-29 00:26:25 +01:00
Folkert
3abcfe824b fix some very incorrect tests 2020-10-29 00:14:56 +01:00
Folkert
a43afc968d vec to slice in parse tests 2020-10-29 00:14:48 +01:00
Folkert
9f4b284f14 from vec to slice 2020-10-29 00:12:59 +01:00
Folkert
047746c716 use only references (no Vec) in canonical AST 2020-10-29 00:12:44 +01:00
Chad Stearns
e9de6bf3fd Str.split bitcode and tests for str_split_in_place_ 2020-10-28 18:24:10 -04:00
Jared Ramirez
29b3aaa538
Merge branch 'trunk' into use-zig-in-builtins 2020-10-28 15:22:51 -07:00
Folkert
4f0c1b8739 vec to slice in parse tests 2020-10-28 23:03:10 +01:00
Jared Ramirez
3fd9f4890a Remove stray ir file 2020-10-28 12:14:46 -07:00
Jared Ramirez
3e0d4cd3c7 Docs & comments cleanup 2020-10-28 11:19:38 -07:00