JRI98
dcb6c543c0
Remove unused TypedHole variant from roc_can::expr::Expr
2024-11-28 20:11:37 +00:00
Sam Mohr
46067cf28c
Merge pull request #7255 from JRI98/fix_dec_zero_div_zero
...
Fix division of zero by zero for Dec
2024-11-28 15:06:18 -05:00
Agus Zubiaga
c4fcd0dcd0
Merge pull request #7254 from roc-lang/allow-suffixed-host-exposed-pure
2024-11-27 21:59:56 -03:00
Luke Boswell
b178b41c50
Merge pull request #7248 from shua/rmdeps
...
rm unused dependencies
2024-11-28 11:26:41 +11:00
JRI98
61ca278e31
Fix division of zero by zero for Dec
2024-11-27 23:38:21 +00:00
Agus Zubiaga
2e7e67019f
Add doc comment to SolveConfig.host_exposed_symbols
2024-11-27 14:15:08 -03:00
Agus Zubiaga
6ffc8a507b
Allow suffixed pure functions that are exposed to the host
2024-11-27 14:06:37 -03:00
Agus Zubiaga
1dc9dd0a90
Merge branch 'main' into specialize-exprs
2024-11-27 11:35:14 -03:00
Joshua Warner
0295bb58da
Merge pull request #7245 from joshuawarner32/dbg-expr-only
...
Make dbg always be parsed as an expression
2024-11-26 17:41:28 -08:00
Luke Boswell
171ddde998
restore fuzzer
2024-11-27 11:25:14 +11:00
shua
2649716e4a
PR: old code not fmt'd
2024-11-27 00:42:56 +01:00
shua
fc10883c47
PR: add libfuzzer-sys back, test_syntax-fuzz to ws
2024-11-26 23:05:23 +01:00
Brendan Hansknecht
e40b3cd6a9
Merge pull request #7235 from shua/devneg
...
impl Num.neg for Dec,F32,F64 in repl
2024-11-26 13:29:19 -08:00
Agus Zubiaga
29b4ca0340
Add TODO to use interner
2024-11-25 19:54:43 -03:00
Agus Zubiaga
c31b457428
Remove unnecessary soa_index Id type alias
2024-11-25 19:35:26 -03:00
Agus Zubiaga
0a98580277
Use "opaques" instead of "opaque types" in reporting
2024-11-25 19:32:08 -03:00
Agus Zubiaga
f8e70f8786
Replace unwrap with debug_panic!
2024-11-25 19:26:49 -03:00
Agus Zubiaga
b50b79fbe2
Fix formatting in mono_type
2024-11-25 19:01:45 -03:00
Joshua Warner
b4fdb0a4c2
Make dbg parse strictly as an Apply
...
This is important in order to fix some formatting bugs found in fuzzing
2024-11-24 14:15:29 -08:00
shua
a98acff0b9
gen-dev: impl Num.neg for Dec,F32,F64
...
Dec negation was implemented across gen-dev, gen-llvm, gen-wasm as a call
to the compiled zig function `bitcode::DEC_NEGATE`.
f32 and f64 negation were implemented already for gen-llvm, gen-wasm.
for gen-dev x86_64, float negation is implemented by flipping the sign
bit, which means `xorps` for f32, and `xorpd` for f64
for gen-dev aarch64, there is conveniently a `fneg` instruction
2024-11-23 19:17:55 +01:00
Agus Zubiaga
5370a27370
Use debug_assert! insetead of expect
2024-11-23 11:17:12 -03:00
Agus Zubiaga
5d6c47b25f
Update test_syntax snapshot after new Slice debug impl
2024-11-23 11:05:09 -03:00
Agus Zubiaga
5384b96979
Remove unnecessary test_compile dep in solve
2024-11-23 11:03:44 -03:00
Agus Zubiaga
13fc87a52a
Remove test_solve_expr since it can't work without load
2024-11-23 10:32:48 -03:00
Agus Zubiaga
def52edad5
Fix "parameter" typo
2024-11-23 03:15:35 -03:00
Agus Zubiaga
2974dcbc18
Fix warnings in specialize_types
2024-11-23 02:20:47 -03:00
Agus Zubiaga
2e96aca0fd
Merge branch 'main' into specialize-exprs
2024-11-23 01:48:51 -03:00
Sam Mohr
c5b2e160ca
Ignore switch stmt ret_layout
2024-11-21 09:52:38 -08:00
Sam Mohr
899a7d3308
Add reporting tests for annotated functions with early returns
2024-11-21 04:38:58 -08:00
Sam Mohr
f857872903
Properly type constrain all function types
2024-11-21 04:09:47 -08:00
Sam Mohr
20ba4a92de
Merge branch 'main' into constrain-early-return-functions
2024-11-21 02:45:14 -08:00
Luke Boswell
34f5b61c3b
restore --no-link build pipeline
2024-11-21 16:20:05 +11:00
Anton-4
d123d0f256
back to old architecture display
...
arm64 causes issues on raspberry pi
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-11-20 20:04:25 +01:00
Anton-4
5ac7b193a9
Merge pull request #7229 from JRI98/remove_unused_ast_expr_expect
...
Remove unused ast::Expr::Expect
2024-11-19 13:32:45 +01:00
Richard Feldman
13efa083dd
Improve representation of record fields in mono
2024-11-18 21:36:39 -05:00
Sam Mohr
7ca305b5dc
Merge branch 'main' into constrain-early-return-functions
2024-11-18 15:04:34 -08:00
JRI98
de4179d5e1
Remove unused ast::Expr::Expect
2024-11-18 14:13:46 +00:00
JRI98
a18232bd8b
Cleanup after #7227
2024-11-18 11:04:07 +00:00
Joshua Warner
9ead801536
Remove expect-fx syntax and handling
...
This was never fully hooked up in platforms, and the plan is to replace the need for this with doing purity-inference on normal `expect` statements.
On the other hand, fuzzing is finding some bugs caused by having a hyphenated keyword, so this is a great time to go ahead and remove it!
2024-11-17 20:25:37 -08:00
Richard Feldman
073df686bc
Remove some dbg!s
2024-11-17 01:48:21 -05:00
Richard Feldman
7832a7f16f
Delete unnecessary specialize_types tests
2024-11-17 00:37:07 -05:00
Richard Feldman
2e8ea853f7
Fix floating-point monomorphization
2024-11-17 00:00:33 -05:00
Richard Feldman
dd031855a9
Revert "Try fixing a surprising constraint behavior"
...
This reverts commit ae2855628e
.
2024-11-16 23:49:20 -05:00
Richard Feldman
ae2855628e
Try fixing a surprising constraint behavior
2024-11-16 23:48:57 -05:00
Richard Feldman
05e5fb4189
Fix a test, delete some dead code
2024-11-16 18:53:53 -05:00
Richard Feldman
219a0398a2
Introduce string-based mono expr tests
2024-11-16 18:31:32 -05:00
Richard Feldman
03370da6d6
Unwrap single-field records
2024-11-16 15:08:51 -05:00
Anton-4
7bf3701c9e
Merge pull request #7213 from roc-lang/list-splitting
...
Rename List.split to List.splitAt and add List.splitOn and List.splitOnList
2024-11-16 20:15:41 +01:00
Anton-4
19a716b8e9
Merge pull request #7225 from joshuawarner32/fuzzing-bugs
...
Fix some bugs found via fuzzing
2024-11-16 19:46:12 +01:00
Anton-4
47d810e059
fix example
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-11-16 19:30:47 +01:00