Commit Graph

27889 Commits

Author SHA1 Message Date
Richard Feldman
74e58d3d51
Fix decode_from_utf8_result 2024-02-17 13:20:33 -05:00
Richard Feldman
3b55b64ca6
Update mono tests 2024-02-15 06:47:14 -05:00
Richard Feldman
ada83561e5
Split ListLen into ListLenU64 and ListLenUsize
The usize one gets used internally for things like
pattern matches. This is both more efficient (means
they don't have to do unnecessary casts) and also
less error-prone due to e.g. comparing length to
capacity, which is usize.
2024-02-14 21:00:49 -05:00
Richard Feldman
a15cc0589c
Revert "Fix some usize -> u64 in List patterns"
This reverts commit e8a0b0930d.
2024-02-14 20:17:14 -05:00
Richard Feldman
30712d352a
Silence some unused test macro warnings 2024-02-14 20:16:39 -05:00
Richard Feldman
c2ab73c115
Add a TODO comment for later 2024-02-14 20:16:28 -05:00
Richard Feldman
3aec2a9182
Address some unused warnings 2024-02-14 13:47:26 -05:00
Richard Feldman
adfaefd4b7
Fix some more usize -> u64 in gen tests 2024-02-14 13:43:49 -05:00
Richard Feldman
a62234cb0b
Delete some trailing spaces 2024-02-13 19:49:23 -05:00
Richard Feldman
d378a14414
Minor zig refactor 2024-02-13 19:49:11 -05:00
Richard Feldman
47b7ff7365
Auto-collapse generated mono stuff on GitHub diffs 2024-02-13 19:48:51 -05:00
Richard Feldman
5fe9c0d7a3
Remove obsolete wasm-specific test cfg 2024-02-13 12:58:42 -05:00
Richard Feldman
e8a0b0930d
Fix some usize -> u64 in List patterns 2024-02-13 12:50:55 -05:00
Richard Feldman
b2ce7e5fcf
Rearrange where usize -> u64 conversions happen 2024-02-13 12:50:40 -05:00
Richard Feldman
ca8f83b896
Use usize instead of pointer type for wasm tests 2024-02-11 12:35:37 -05:00
Richard Feldman
24a38c4a26
Merge remote-tracking branch 'origin/main' into remove-nat 2024-02-11 12:26:36 -05:00
Richard Feldman
50ea255703
Fix some tests that were expecting usize over u64 2024-02-11 12:21:50 -05:00
Luke Boswell
ec93892c6b
Merge pull request #6502 from roc-lang/add-sponsor
Add Steven Chen to sponsors on homepage
2024-02-11 20:53:34 +11:00
Anton-4
e4a7f11a2e
Merge pull request #6506 from roboteng/ensure-roc-files
Helpful error message on non roc files
2024-02-10 00:40:45 +01:00
Anton-4
61d630f558
Merge pull request #6505 from JRI98/fix_try_roc_explanation
Fix explanation in Try Roc
2024-02-09 22:14:48 +01:00
Anton-4
d08bda6b01
update filenames to new rules 2024-02-09 19:46:39 +01:00
Anton-4
38dbcc2a16
backslash is no longer necessary
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-09 19:28:09 +01:00
Anton-4
2b64123dbb
clippy 2024-02-09 19:20:41 +01:00
Anton-4
3eec1f4bb0
Merge branch 'main' into ensure-roc-files 2024-02-09 19:15:13 +01:00
Anton-4
b22f793967
Merge pull request #6516 from roc-lang/repl-named-file
repl now uses replfile.roc behind the scenes.
2024-02-09 19:13:42 +01:00
Brian Carroll
dcfa2aab3d
Merge pull request #6509 from roc-lang/tutorial-inline-expect
clarification inline expect
2024-02-09 18:12:12 +00:00
Anton-4
fa48f9713e
repl now uses replfile.roc
Previously this was using an empty filename but that seems potentially confusing during debugging.
2024-02-09 15:18:51 +01:00
Luke Boswell
448c29353e
Merge pull request #6134 from faldor20/lsp_completion
Support for completion in the language server
2024-02-09 18:43:40 +11:00
Trevor Settles
cd4adeb9c1
added nicer indentation 2024-02-08 16:37:46 -07:00
Trevor Settles
5f6d259e5d
updated error messages 2024-02-08 15:25:15 -07:00
Folkert de Vries
8592acca8e
Merge pull request #6515 from roc-lang/compiler-rt-dce
update some compiler-rt dce protection
2024-02-08 22:20:48 +01:00
Brendan Hansknecht
738a3b5282
update some compiler-rt dce protection 2024-02-08 11:52:25 -08:00
Trevor Settles
4b4ad47312
added test for no file ext or shebang 2024-02-07 10:18:33 -07:00
Trevor Settles
50c8adbbbb
added test for non roc file 2024-02-06 23:10:18 -07:00
Trevor Settles
295e1c9d35
Merge branch 'main' of https://github.com/rtfeldman/roc into ensure-roc-files 2024-02-06 20:31:36 -07:00
Anton-4
5a8965d162
further clarification
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-06 20:18:54 +01:00
Anton-4
fdfc922b89
clarification inline expect
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-06 19:33:00 +01:00
Brian Carroll
d62cc0b1d3
Merge pull request #6508 from roc-lang/debug-print-build-commands
Create a debug flag for build commands
2024-02-06 15:17:02 +00:00
Eli Dowling
9ba4436615
Update crates/lang_srv/src/registry.rs
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Eli Dowling <eli.jambu@gmail.com>
2024-02-06 18:57:57 +10:00
Brian Carroll
a9a1ae1511
Get rid of dead code warning 2024-02-06 08:17:31 +00:00
Brian Carroll
0f19ecbb86
Handle env vars in debug printing 2024-02-06 08:04:00 +00:00
Brian Carroll
26fdbaf4cd
Create a debug flag for build commands 2024-02-06 07:54:55 +00:00
Trevor Settles
1b757e724c
reverted import 2024-02-05 23:00:49 -07:00
Trevor Settles
bb54832146
added more descriptive error messages 2024-02-05 22:27:17 -07:00
Trevor Settles
2f9ecc7f8e
added no ext error checking 2024-02-05 22:06:53 -07:00
Richard Feldman
2876cafb2a
Merge pull request #6507 from jeffnm/patch-1
Fix List.first anchor link on the different-names webpage
2024-02-05 20:10:55 -05:00
Jeffrey Mudge
695dba8df7
Fix List.first anchor link
Signed-off-by: Jeffrey Mudge <jeffmudge@gmail.com>
2024-02-05 17:46:50 -06:00
Trevor Settles
eacc5cf587
Merge branch 'main' of https://github.com/rtfeldman/roc into ensure-roc-files 2024-02-05 12:47:43 -07:00
JRI98
fed52d36d5
Fix explanation in Try Roc 2024-02-05 13:09:12 +00:00
Anton-4
416da28e21
Merge pull request #6504 from roc-lang/web-repl-js-fix
escape bracket
2024-02-05 13:47:29 +01:00