Commit graph

437 commits

Author SHA1 Message Date
Richard Feldman
5e687cc71c Fix a test 2020-07-12 22:58:52 -04:00
Richard Feldman
c2bc98ea4b Only use pending specializations for other modules 2020-07-12 22:53:03 -04:00
Richard Feldman
0b6053e2f6 Reproduce some more type checking bugs 2020-07-12 22:53:03 -04:00
Richard Feldman
e4915985f7 Re-disable first_empty_list 2020-07-12 22:53:03 -04:00
Richard Feldman
7c0359c6bf Revert "(REVERT THIS!) Temporarily disable some tests"
This reverts commit 0ed1892329.
2020-07-12 22:53:03 -04:00
Chad Stearns
f807947ce4 Merging in remote, implemented basics of List append in many modules 2020-07-12 14:35:22 -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
1cd49689c2 Merge remote-tracking branch 'origin/trunk' into low-level-ops 2020-07-07 21:09:50 -04:00
Richard Feldman
6bde717df8 Add some more i64_abs tests 2020-07-06 22:28:02 -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
Richard Feldman
e559deecbf Improve LLVM verification error messages 2020-07-05 22:24:04 -04:00
Chad Stearns
09af8a3b8d Add tests to list push to handle cases like we recently solved regarding List.reverse and List.repeat 2020-07-05 15:55:55 -04:00
Chad Stearns
b76033525f Fix memory with with List.repeat creating large lists, and fix problem with List.repeat operating on empty lists with real layout 2020-07-05 15:45:28 -04:00
Richard Feldman
261f252f06 Reproduce List.reverse code gen crash 2020-07-05 08:57:16 -04:00
Chad Stearns
4e7f40ab0f Evaluate if the list to be reversed has a length greater than 0, and match on the layout type EmptyList. We need to do both 2020-07-04 19:45:46 -04:00
Chad Stearns
d66cf913a9 Refactored the phi2 away 2020-07-03 14:20:34 -04:00
Chad Stearns
7bd7e697b0 LIST_REVERSE works, so long as the list is made up of ints equal to 1 2020-07-02 22:39:58 -04:00
Richard Feldman
d7203be7ad Use with_larger_debug_stack on gen_quicksort 2020-06-29 22:21:21 -04:00
Richard Feldman
38ab29ca3e Fix test module names 2020-06-29 22:18:28 -04:00
Richard Feldman
8c96d12661 Merge trunk 2020-06-29 22:10:46 -04:00
Chad Stearns
20b0e986ad Merge branch 'list-push' of github.com:rtfeldman/roc into list-push 2020-06-27 15:12:01 -04:00
Chad Stearns
4e039125bf Make test for List.pushing bools just to make sure it works with different types 2020-06-27 15:11:18 -04:00
Richard Feldman
22cc618436 Split gen_builtins into gen_num and gen_list 2020-06-25 22:02:25 -04:00
Richard Feldman
44477f98e9 Fix Num.sqrt, div, mod, and rem 2020-06-25 21:47:02 -04:00
Richard Feldman
46c43da1de Improve debug output 2020-06-25 01:25:33 -04:00
Richard Feldman
e0fc71526e Clean up some debugging info 2020-06-25 00:28:01 -04:00
Richard Feldman
64482f8bfe Fix some indentation 2020-06-25 00:14:53 -04:00
Richard Feldman
27c19ad868 Reproduce List.first bug on wildcard empty list 2020-06-24 23:14:54 -04:00
Richard Feldman
0f36255f83 Fix List.first types 2020-06-24 23:08:25 -04:00
Richard Feldman
faa5f281fb Fix a memory access issue 2020-06-23 23:44:20 -04:00
Richard Feldman
08be131eef Stop using List.getUnsafe in gen_builtins 2020-06-23 22:20:32 -04:00
Richard Feldman
30a95e90d1 Fix Num.toFloat 2020-06-23 19:31:50 -04:00
Richard Feldman
9f8c48118f wip List.get 2020-06-22 23:30:11 -04:00
Richard Feldman
88990c8711 Move Int and Float modules into Num 2020-06-22 23:25:38 -04:00
Richard Feldman
8d92920731 Re-add Float128 and Float16 2020-06-21 22:29:28 -04:00
Richard Feldman
b97c94c2da Fix infinite loop 2020-06-21 22:29:28 -04:00
Richard Feldman
44b19d3174
Merge branch 'trunk' into list-push 2020-06-21 22:23:24 -04:00
Richard Feldman
56c637e399 Fix some constraint gen 2020-06-21 16:48:44 -04:00
Chad Stearns
197dc01ad8 Got rid of test for negative amount of repeats. We will worry about that later 2020-06-21 13:24:21 -04:00
Chad Stearns
5898fa0905 Cleaned up list_push 2020-06-21 04:37:58 -04:00
Chad Stearns
e4eeff5bd0 List repeat works for all test cases except one with a negative number repeats param, and avoids malloc in the case that the number of repeats is not more than 0 2020-06-21 00:55:53 -04:00
Chad Stearns
6485b039c7 List repeats code gen works.. so long as its 5 2020-06-20 15:49:58 -04:00
Richard Feldman
461e166254 wip 2020-06-20 13:59:04 -04:00
Chad Stearns
7bf8be5e9a Merge branch 'trunk' of github.com:rtfeldman/roc into list-repeat 2020-06-20 13:45:04 -04:00
Chad Stearns
0531d91301 WIP 2020-06-20 13:40:48 -04:00
Richard Feldman
07689ca9dc Switch back to builtin_defs returning Def 2020-06-20 10:57:44 -04:00
Chad Stearns
3af6d5f0b3 WIP 2020-06-19 21:02:52 -04:00
Richard Feldman
11920e781e Remove gen_module test 2020-06-19 11:10:22 -04:00