Commit graph

47 commits

Author SHA1 Message Date
Ayaz Hafiz
a12e40a310
Specialize polymorphic values before binding to pattern
Closes #2811
2022-04-07 14:03:29 -04:00
Folkert
b9adbf66a0
use RocResult for some tests 2022-03-30 17:34:04 +02:00
Folkert
07063a8e18
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-09 14:36:34 +01:00
Tom Dohrmann
788c8a6af2 reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00
Folkert
177529bfb6
all string tests passing 2022-02-20 13:04:12 +01:00
Folkert
2c4d0e71a6
fix string repeat tests 2022-02-20 00:47:07 +01:00
Folkert
dea6cfbc8f
various fixes 2022-02-20 00:20:50 +01:00
ayazhafiz
ff3596505e Fix gen tests 2022-02-06 15:04:12 -05:00
Jan Van Bruggen
96724e73aa Add empty-delimiter handling for Str.split 2021-12-18 00:53:17 -07:00
rvcas
20cb174c69 test: add str_to_f32 2021-12-06 23:36:08 -05:00
rvcas
3164ecad97 test: ignore i128 builtins for now 2021-12-06 23:29:45 -05:00
rvcas
b7d48b2fe1 feat: add the rest of the num types for Str conversion 2021-12-06 23:24:02 -05:00
rvcas
e587e20de2 feat: switch to using a builtin per num type to convert from a string 2021-12-06 22:24:00 -05:00
rvcas
bc5b1abcba feat(Str.toNum): support decimal 2021-12-02 15:35:34 -05:00
rvcas
b58a965e08 test(Str.toNum): add float test case 2021-12-02 15:13:39 -05:00
Folkert
d6ed2147ae basic working test case 2021-12-02 20:30:58 +01:00
rvcas
40090f20e6 test: update tests to use Num.toStr 2021-11-30 14:56:08 -05:00
Theo Felippe
8d7c252fce implemented Str.trimRight 2021-11-13 18:02:58 +00:00
Michael Downey
22a293ceb5 Merge branch 'str_trim_left' of github.com:rtfeldman/roc into str_trim_left 2021-11-09 20:38:20 -05:00
Michael Downey
0ee750d4c9 adding feature gen-llvm to tests 2021-11-09 20:37:38 -05:00
Michael Downey
07cd3850d7
Merge branch 'trunk' into str_trim_left 2021-11-09 19:43:26 -05:00
Michael Downey
151c92bb48 adding tests and changing trimLeft to pass long unique test 2021-11-09 18:16:32 -05:00
Brendan Hansknecht
360974398a Merge test_dev, test_wasm, and test_wasm_util into test_gen 2021-11-08 19:31:20 -08:00
Dan Knutson
12d35ba9f1 work around all test strings being static 2021-10-25 20:22:37 -05:00
Dan Knutson
e1b9699272 remove TODO tags 2021-10-25 20:22:37 -05:00
Dan Knutson
ca48d17dbc add Roc-level shared case tests 2021-10-25 20:22:37 -05:00
Dan Knutson
6f7a26895a handle small strings correctly 2021-10-25 20:22:37 -05:00
Dan Knutson
13fd72f3d8 thrashing 2021-10-25 20:22:37 -05:00
Dan Knutson
46365da73a add failing tests
* SIGSEGV for non-empty strings
2021-10-25 20:22:37 -05:00
Kofi Gumbs
0cdafa1623 Add Str.repeat test for big strings 2021-09-29 21:54:06 -04:00
Kofi Gumbs
b32a42f05a Add Str.repeat builtin 2021-09-29 17:32:42 -04:00
Folkert
4ced5ce2c0 updates for tests 2021-08-29 23:06:23 +02:00
Folkert
71c0a325ee wasm test harnass 2021-08-29 00:36:16 +02:00
Folkert
0a7f7a2772 emit LLVM IR that can be compiled to wasm 2021-08-24 20:56:13 +02:00
Joshua Hoeflich
05d87314e7 Consistently triggering null pointer bug 2021-08-10 10:51:15 -05:00
Joshua Hoeflich
ba360a2dd2 Test passing in debug but not release 2021-08-09 22:03:01 -05:00
Joshua Hoeflich
ae38a0d3ff Cargo fmt 2021-08-08 21:41:00 -05:00
Joshua Hoeflich
c00d400d85 Fixes merge conflict 2021-08-08 21:38:15 -05:00
Joshua Hoeflich
17ec118f52 Work in progress: Bounds Checking 2021-08-08 12:02:20 -05:00
Joshua Hoeflich
b8b20a376a Passing without bounds checks 2021-08-08 11:26:49 -05:00
Joshua Hoeflich
4231b340ee Glue code working 2021-08-08 11:06:10 -05:00
Richard Feldman
2a616103c6 Rename Str.toBytes to Str.toUtf8 2021-08-07 22:46:24 -04:00
Richard Feldman
267836226c s/CodePoint/CodePt/g 2021-08-07 21:46:20 -04:00
Richard Feldman
83dde26cd0 Fix Str.startsWithCodePoint docs 2021-05-02 22:16:58 -04:00
Folkert
c071cfba13 implement startsWithCodePoint 2021-05-02 19:26:08 +02:00
Folkert
ef362ada26 change headers 2021-03-01 15:15:05 +01:00
Folkert
3e3fe4fc7a move test files 2021-03-01 14:59:47 +01:00
Renamed from compiler/gen/tests/gen_str.rs (Browse further)