Commit Graph

3162 Commits

Author SHA1 Message Date
Richard Feldman
0550af17d2 Fix some empty list edge cases 2020-06-25 00:02:52 -04:00
Richard Feldman
5cec577427 Fix return type of List.first 2020-06-24 23:52:54 -04:00
Richard Feldman
2332650785 Add cfg(debug_assertions) where appropriate 2020-06-24 23:15:12 -04:00
Richard Feldman
c5fbb05ce9 Fix an error message 2020-06-24 23:15:03 -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
b3dfbeeec8 Fix some missing unary Num operation types 2020-06-24 21:56:56 -04:00
Richard Feldman
35446348a3 Fix some vars 2020-06-23 23:50:20 -04:00
Richard Feldman
faa5f281fb Fix a memory access issue 2020-06-23 23:44:20 -04:00
Richard Feldman
14c31d55ee Fix List.set monomorphization 2020-06-23 23:42:12 -04:00
Richard Feldman
08be131eef Stop using List.getUnsafe in gen_builtins 2020-06-23 22:20:32 -04:00
Richard Feldman
4fdb39ee71 Delete some unused helpers 2020-06-23 21:17:51 -04:00
Richard Feldman
f350c0ed52 Fix List.len monomorphization 2020-06-23 21:14:23 -04:00
Richard Feldman
750523ba5c Fix List.single 2020-06-23 19:34:09 -04:00
Richard Feldman
30a95e90d1 Fix Num.toFloat 2020-06-23 19:31:50 -04:00
Richard Feldman
dd8dff0f9e Fix some unary ops 2020-06-23 19:17:39 -04:00
Richard Feldman
3309270747 Fix trig ops 2020-06-23 18:21:07 -04:00
Richard Feldman
1c98248b91 Ops for sqrt and round 2020-06-23 18:05:30 -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
d041355c1d Rename to_owned to into_owned 2020-06-21 22:30:16 -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
5ec512a0e7 Drop dead code 2020-06-21 21:23:01 -04:00
Richard Feldman
41519fc5a9 Remove incorrect debug_assert 2020-06-21 21:22:57 -04:00
Richard Feldman
cad0a1421e Annotate low-level usages 2020-06-21 21:06:52 -04:00
Richard Feldman
52dfb75dc0 Fix some Int8s that should have been Int1s 2020-06-21 16:52:22 -04:00
Richard Feldman
56c637e399 Fix some constraint gen 2020-06-21 16:48:44 -04:00
Richard Feldman
32b9b1ea60 Remove FLOAT_ADD and similar 2020-06-21 15:35:38 -04:00
Richard Feldman
ddf980e475 Use RunLowLevel over calling Bool.and 2020-06-21 15:25:03 -04:00
Richard Feldman
1f6afe1182 Default Num layout to Int 2020-06-21 15:21:03 -04:00
Richard Feldman
6ef74a2432 Add canonical builtins to test_mono 2020-06-21 15:14:04 -04:00
Richard Feldman
187f3f8dc5 Move some Num operations into LowLevel 2020-06-21 15:07:32 -04:00
Richard Feldman
7c98e2e9f8 Only immediately specialize anonymous closures 2020-06-21 15:07:20 -04:00
Richard Feldman
0d6d30e5df debug_assert for duplicate partial_procs 2020-06-21 14:20:10 -04:00
Richard Feldman
706c28b2bb Specialize in test_mono 2020-06-21 14:18:19 -04:00
Richard Feldman
461e166254 wip 2020-06-20 13:59:04 -04:00
Richard Feldman
920b530008 Rename solve tests 2020-06-20 13:25:40 -04:00
Richard Feldman
f90b64edd9 Use a custom macro for builtin_defs 2020-06-20 10:58:12 -04:00
Richard Feldman
07689ca9dc Switch back to builtin_defs returning Def 2020-06-20 10:57:44 -04:00
Richard Feldman
16ceb895c1 Fix some Bool.isEq stuff 2020-06-19 20:45:14 -04:00
Richard Feldman
dec5c3a062 Get low-level ops compiling 2020-06-19 20:07:04 -04:00
Richard Feldman
b75f061f4f Fix exhaustiveness errors 2020-06-19 13:30:14 -04:00
Richard Feldman
11920e781e Remove gen_module test 2020-06-19 11:10:22 -04:00
Richard Feldman
e014e5c95c Update gen_module test 2020-06-19 11:10:14 -04:00
Richard Feldman
0b64c3a1ad wip 2020-06-19 11:02:13 -04:00
Richard Feldman
e49b43d376 Extract constrain_imports & pre_constrain_imports 2020-06-19 11:02:10 -04:00
Richard Feldman
9d31c667fa Merge remote-tracking branch 'origin/trunk' into specialize-separately 2020-06-18 21:02:50 -04:00
Richard Feldman
90c281fdd7
Merge pull request #384 from rtfeldman/windows-repl
Make repl Windows-friendly
2020-06-18 00:56:39 -04:00
Richard Feldman
bb1f7882b7
Merge branch 'trunk' into windows-repl 2020-06-18 00:26:06 -04:00