Commit Graph

7860 Commits

Author SHA1 Message Date
Richard Feldman
762f52b714
Use ListLenU64 where it's needed over ListLenUsize 2024-02-17 13:20:33 -05:00
Richard Feldman
37b154df4f
Remove Str.fromUtf8Range
Seamless slices make this obsolete!
2024-02-17 13:20:33 -05:00
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
d378a14414
Minor zig refactor 2024-02-13 19:49:11 -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
Anton-4
d08bda6b01
update filenames to new rules 2024-02-09 19:46:39 +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
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
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
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
Trevor Settles
2fe506ee50
Merge branch 'main' of https://github.com/rtfeldman/roc into ensure-roc-files 2024-02-04 21:25:15 -07:00
Trevor Settles
5270e896a8
moved file ext handling 2024-02-04 21:24:36 -07:00
Folkert de Vries
0e7fee4e7f
Merge pull request #6486 from roc-lang/remove-unused-lowlevel
Remove unused lowlevel StrGetCapacity
2024-02-04 13:57:46 +01:00
Folkert de Vries
4cbdf08a2d
Merge pull request #6499 from JRI98/fix_6174
Don't skip closure captures when fixing them
2024-02-04 13:57:18 +01:00
Anton-4
b2b55876d3
Merge pull request #6488 from roc-lang/forgot-old-interpolation-syntax
update to new interpolation syntax
2024-02-04 11:03:34 +01:00
JRI98
be30e470a8
Don't skip closure captures when fixing them 2024-02-03 23:19:08 +00:00
Folkert de Vries
8e3c1597c3
Merge pull request #6487 from roc-lang/gen-dev-lambda-name
Avoid generating actual lambda names
2024-02-03 17:26:18 +01:00
Folkert de Vries
3ede352309
Merge pull request #6493 from JRI98/fix_5513
Create symbols for struct fields before record update
2024-02-03 17:24:56 +01:00
Anton-4
c2e4ad6c84
Merge pull request #6445 from ashermancinelli/header-parse-error-message
Better error message for bad packages list
2024-02-03 14:07:52 +01:00
faldor20
32f73b7ea1
clippy 2024-02-03 21:06:09 +10:00
Anton-4
f47b2eb2eb
change wording
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-03 12:05:15 +01:00
faldor20
718e611c22
moved comment 2024-02-03 20:59:56 +10:00
faldor20
1c7804420a
Added env var configuration for language server timeouts 2024-02-03 20:53:31 +10:00
Anton-4
930e298706
Merge pull request #6492 from roc-lang/basic-cli-8-1
update everything to basic-cli 0.8.1
2024-02-03 04:32:16 +01:00