Commit graph

4827 commits

Author SHA1 Message Date
Richard Feldman
348ee32945
bindgen empty record (aka unit) 2022-07-13 21:35:34 -04:00
Richard Feldman
ed64d8b043
Move the rest of impl RocType into bindgen_rs 2022-07-13 21:35:13 -04:00
Richard Feldman
cf4ef0afe3
Move has_enumeration to bindgen_rs, rename to can_derive_default 2022-07-13 21:35:13 -04:00
Richard Feldman
45ffd45792
Drop obsolete comment 2022-07-13 21:34:01 -04:00
Richard Feldman
434bd1a56f
Don't handle has_enumeration for functions yet 2022-07-13 21:34:01 -04:00
Richard Feldman
b822b8c0be
Don't bindgen the wrong name for args and ret 2022-07-13 21:34:01 -04:00
Richard Feldman
cb0184103e
Make function bindgen a no-op instead of a todo panic 2022-07-13 21:34:01 -04:00
Richard Feldman
a812369299
Merge pull request #3510 from rtfeldman/fix-loading
Fix some file loading bugs
2022-07-13 21:30:39 -04:00
Richard Feldman
da7c7ac5f2
Merge pull request #3525 from rtfeldman/3522
Num.toStr for f32, f64, Dec
2022-07-13 21:30:05 -04:00
Richard Feldman
88d4e37650
“Stay hungry, stay clippy.“ -Steve Jobs 2022-07-13 21:24:10 -04:00
Folkert
06938429a1
Merge branch 'assoc-list-dict' into pretty-expect-output 2022-07-14 00:39:01 +02:00
Ayaz Hafiz
9b7950f765
Wrap opaque types in the repl with the appropriate opaque wrapper
Closes #3504
2022-07-13 17:46:04 -04:00
Ayaz Hafiz
b50974e4ee
Update zig tests 2022-07-13 17:20:47 -04:00
Folkert
e6019a1eca
formatting 2022-07-13 23:11:58 +02:00
Folkert
42941cae27
fix rust dropping a CString somehow 2022-07-13 23:08:26 +02:00
Richard Feldman
b734986fc8
Use config_shorthand of "" but never a shorthand of ""
This was breaking bindgen's ability to work on some platform modules.
2022-07-13 17:03:32 -04:00
Brian Carroll
06f8af6b1e
gen_wasm: correctly detect empty ElementSection and don't emit TableSection 2022-07-13 21:23:32 +01:00
Ayaz Hafiz
2a963ca3ba
Merge branch 'assoc-list-dict' of https://github.com/rtfeldman/roc into assoc-list-dict 2022-07-13 16:18:52 -04:00
Ayaz Hafiz
71b078d2dc
Clone delayed type alias when there are equivalent type variables 2022-07-13 16:18:03 -04:00
Richard Feldman
77afe0c1f1
Merge pull request #3503 from rtfeldman/string-memory-problems
String memory problems
2022-07-13 15:17:28 -04:00
Folkert
6bc88a42d7
enable some dict tests for wasm 2022-07-13 20:53:18 +02:00
Folkert
5763248b44
Merge remote-tracking branch 'origin/trunk' into assoc-list-dict 2022-07-13 20:44:28 +02:00
Folkert
d85158e813
add case 2022-07-13 20:14:21 +02:00
Folkert
7456be1771
update mono tests 2022-07-13 19:39:03 +02:00
Folkert
ed27e0ea62
Dict and Set are always in scope 2022-07-13 19:36:53 +02:00
Richard Feldman
af39bc5369
Revert "Don't invent shorthands"
This reverts commit 8b6d55df01.
2022-07-13 13:24:48 -04:00
Folkert
b229c70eec
add cli test configuration 2022-07-13 19:16:36 +02:00
Folkert
8c77899d8f
fix missing field 2022-07-13 18:51:26 +02:00
Folkert
ebce2cf8b2
make expect collector recursive 2022-07-13 18:51:11 +02:00
Folkert
a56ff4f3e3
add the roc test test running logic 2022-07-13 18:50:46 +02:00
Richard Feldman
bf63c45b46
Compute src_dir from original filename
This fixed a bug where bindgen was providing cwd() for src_dir,
but actually the src_dir should have been based on the filename.
This prevents that problem from happening in the future!
2022-07-13 12:49:06 -04:00
Richard Feldman
8b6d55df01
Don't invent shorthands 2022-07-13 12:42:43 -04:00
Ayaz Hafiz
980c3f1421
Use decimal formatting for float Num.toStr 2022-07-13 12:35:49 -04:00
Ayaz Hafiz
b7b9227675
Num.toStr Dec for wasm 2022-07-13 12:24:07 -04:00
Richard Feldman
2efb605d68
Update mono tests 2022-07-13 12:20:16 -04:00
Richard Feldman
e744cd2a33
gen capacity operations in LLVM 2022-07-13 12:19:38 -04:00
Richard Feldman
af14efea91
Fix some comments 2022-07-13 12:19:38 -04:00
Richard Feldman
55ca75a37f
Update wrapper docs 2022-07-13 12:19:38 -04:00
Richard Feldman
aad922251d
Use Builtin::WRAPPER_* in gen_wasm 2022-07-13 12:19:38 -04:00
Richard Feldman
25facfa9c6
Expose capacity builtins 2022-07-13 12:19:37 -04:00
Ayaz Hafiz
66b8d145a9
Support Num.toStr for dec 2022-07-13 12:13:21 -04:00
Ayaz Hafiz
b7c312d449
Support Num.toStr for f32, f64 2022-07-13 12:13:01 -04:00
Folkert
fe7882b598
implement expect collector 2022-07-13 16:23:39 +02:00
Folkert
6190fc9f67
trying to gather expects 2022-07-13 15:47:25 +02:00
Folkert
9d0e3e42d3
bring expectation info to the running code 2022-07-13 15:32:02 +02:00
Folkert
7b8c73325f
refactor argv envp creation 2022-07-13 15:06:55 +02:00
Folkert
e921fe6515
add code for rendering the result 2022-07-13 14:57:08 +02:00
Ayaz Hafiz
f7dea48418
Update reporting test 2022-07-13 08:47:41 -04:00
Ayaz Hafiz
3708ed7c90
Remove stale test for inferred encodable type variables 2022-07-13 08:47:40 -04:00
Ayaz Hafiz
fe63140047
Clippy 2022-07-13 08:47:40 -04:00