Commit graph

7372 commits

Author SHA1 Message Date
Luke Boswell
9e37b93336
remove accidental change from debugging 2024-11-30 08:27:21 +11:00
wizard7377
a81d07f19c
Merge branch 'main' into int_overflow 2024-11-29 15:45:12 -05:00
Richard Feldman
bfbc9ceef0
Merge pull request #7258 from JRI98/remove_unused_typedhole_variant
Remove unused code
2024-11-29 00:19:49 -05:00
wizard7377
7866331f67
Merge branch 'main' into int_overflow 2024-11-28 21:26:38 -05:00
Luke Boswell
e43b78b354
update to workspace deps for miscellaneous 2024-11-29 11:37:39 +11:00
Luke Boswell
624021bf49
replace cargo deps with workspace in test_solve_helpers, test_syntax, types, uitest, unify, work, worker 2024-11-29 11:31:48 +11:00
Luke Boswell
fdaaca8c8b
replace cargo deps with workspace in lower_parms, module, mono, parse, problem, roc_target, serialize, solve, solve_problem, specialize_types, test_* 2024-11-29 11:29:04 +11:00
Luke Boswell
39ca41c243
replace cargo deps with workspace in gen_wasm, late_solve, load, load_internal 2024-11-29 11:21:57 +11:00
Luke Boswell
3c394028d1
replace cargo deps with workspace in derive_key, exhaustive, fmt, gen_dev, gen_llvm 2024-11-29 11:17:42 +11:00
Luke Boswell
56228a25c0
replace cargo deps with workspace in checkmate, constrain, derive 2024-11-29 11:15:26 +11:00
Luke Boswell
6ce35c4337
replace cargo deps with workspace in alias_analysis, build, builtins, can 2024-11-29 11:12:25 +11:00
Luke Boswell
8ad7ecdc10
replace cargo deps with workspace in roc_build 2024-11-29 10:40:20 +11:00
Luke Boswell
1ecb003887
Merge pull request #7250 from shua/fracdec
implement Num.isNaN,isFinite,isInfinite for Dec
2024-11-29 10:16:17 +11:00
Luke Boswell
b7c226212c
remove stray comment 2024-11-29 10:06:18 +11:00
Luke Boswell
0523a0a539
restore Cargo.toml using workspace deps 2024-11-29 09:57:01 +11:00
Luke Boswell
7d4026bd00
fix benchmark-dec, remove callWrapper 2024-11-29 09:32:12 +11:00
Luke Boswell
2feb5d3c2e
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-11-29 08:58:47 +11:00
JRI98
771a34054c
Remove an unused enum and a struct 2024-11-28 20:17:17 +00:00
JRI98
75f13d3f2e
Remove unused RuntimeErrorFunction variant from roc_mono::ir::Expr 2024-11-28 20:11:56 +00:00
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
Asher Frost
0eb11932d9
Re-added tests 2024-11-28 10:11:05 -05:00
wizard7377
62db49f7d2
Merge branch 'roc-lang:main' into int_overflow 2024-11-28 08:35:17 -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
shua
039e5dd3d7
fix gen-llvm 2024-11-27 22:41:56 +01: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
10f04f1d94
implement Num.isNaN,isFinite,isInfinite for Dec 2024-11-27 00:36:54 +01:00
Asher Frost
bddd2a0f57 Fixed casts from integer to integer 2024-11-26 17:32:11 -05: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