Commit Graph

7644 Commits

Author SHA1 Message Date
Brian Teague
4499f8c6f4
isApproxEq function 2024-01-23 21:06:35 -05:00
Richard Feldman
9a3340950e
Merge pull request #6416 from roc-lang/highlight-bugfix
Highlight after special-casing repl snippets
2024-01-23 05:34:10 -05:00
Richard Feldman
98ddbdf5df
clippy
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-01-23 00:05:42 -05:00
Richard Feldman
a8b271c8d5
Copy tweaks to Str docs 2024-01-23 00:05:06 -05:00
Richard Feldman
2dc7c4d169
cargo fmt
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-01-23 00:01:46 -05:00
Richard Feldman
615975b30a
Highlight after special-casing repl snippets
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-01-22 23:58:38 -05:00
Richard Feldman
07ddd272e2
Merge pull request #6361 from faldor20/fix-lang-server-hang
Fix hang from bad imports
2024-01-21 22:06:48 -05:00
Brendan Hansknecht
62c4c2dcb5
Merge branch 'main' into main 2024-01-21 12:17:44 -08:00
Richard Feldman
9cad19d8dc
Merge pull request #6395 from roc-lang/str-unicode
Remove scalars and graphemes from `Str`
2024-01-21 13:34:30 -05:00
Richard Feldman
4716139342
Merge pull request #6407 from lukewilliamboswell/luke-subs
Use subs caching on windows
2024-01-21 13:03:25 -05:00
Richard Feldman
2970fc4384
Merge remote-tracking branch 'origin/main' into str-unicode 2024-01-21 12:30:16 -05:00
Folkert de Vries
f3930d6faf
Merge pull request #6405 from roc-lang/list-clone
add `List.clone`
2024-01-21 12:04:22 +01:00
Luke Boswell
b1ffa5c99b use subs caching on windows 2024-01-21 22:00:17 +11:00
Luke Boswell
ebff47a2aa
fix clippy 2024-01-21 12:24:35 +11:00
Folkert
8b5269a66c
update mono tests 2024-01-20 22:31:54 +01:00
Folkert
f1ffc36efe
add List.clone 2024-01-20 20:29:07 +01:00
Brendan Hansknecht
b6a5e5367c
build structs directly in the alloca 2024-01-20 09:44:46 -08:00
Folkert
351c9215fe
dev backend: f32 abs 2024-01-19 15:16:32 +01:00
Richard Feldman
e7c93bad75
Restore » in docs and allow it in highlighter 2024-01-18 22:23:06 -05:00
Richard Feldman
09c0453fc9
Fix HTML build 2024-01-18 21:51:50 -05:00
Luke Boswell
85fdef8a9b
fix doc comments in Str 2024-01-19 09:56:53 +11:00
Richard Feldman
894860118b
roc format on builtins 2024-01-18 06:34:51 -05:00
William Barbosa
3882262b70 Fix remaining test cases 2024-01-18 08:15:02 +01:00
William Barbosa
f7fac0daba Add a test for trimmed paths 2024-01-18 08:15:02 +01:00
William Barbosa
ad3673bfe9 Improve filename visibility in error messages 2024-01-18 08:15:02 +01:00
Richard Feldman
f2bd5efa41
update mono tests 2024-01-17 22:16:10 -05:00
Richard Feldman
88ea8ffb67
fix typo 2024-01-17 21:51:39 -05:00
Richard Feldman
b48fa0698a
Remove scalars and graphemes from Str 2024-01-17 21:30:34 -05:00
Richard Feldman
65738acb26
Update Str docs 2024-01-17 18:42:32 -05:00
Brendan Hansknecht
f9c0d54688
Stop using "rlib"
I don't know if this matters at all, but I don't think we should use "rlib".
The [rust docs](https://doc.rust-lang.org/reference/linkage.html) suggest using "lib" by default.
"lib" probably just aliases to "rlib", but it lets the compiler pick what it wants.
I don't think this will fix anything, but I am half hopeful it will somehow fix #6121.
2024-01-16 22:36:10 -08:00
Fabian Schmalzried
946f00e91b
Remove duplicate code in bitcode
Signed-off-by: Fabian Schmalzried <fabhof@posteo.de>
2024-01-16 16:19:39 +01:00
Richard Feldman
ae0e3593a4
Merge pull request #6311 from roc-lang/fix_benchmarks
Fix benchmarks failing silently
2024-01-15 14:00:57 -05:00
Isaac Van Doren
eec6d79248
exit code 2 for warnings 2024-01-14 19:53:55 -06:00
Isaac Van Doren
3d0661db0c
Revert "add ignore-warnings flag to roc build"
This reverts commit 1c85b823c1.
2024-01-14 19:51:58 -06:00
Isaac Van Doren
acb2cfdd40
Revert "add flag to roc check"
This reverts commit 5d74cd61ec.
2024-01-14 19:51:37 -06:00
Isaac Van Doren
5d74cd61ec
add flag to roc check 2024-01-14 16:00:11 -06:00
Isaac Van Doren
1c85b823c1
add ignore-warnings flag to roc build 2024-01-14 15:39:10 -06:00
Richard Feldman
443b3c8851
Fix single-quote dollar parsing 2024-01-13 15:41:35 -05:00
Anton-4
6a6345eb01
Merge branch 'main' of github.com:roc-lang/roc into fix_benchmarks 2024-01-13 19:47:20 +01:00
faldor20
d1f60f9eae fix formatting 2024-01-13 20:32:31 +10:00
Anton-4
79ed84fff3
Merge pull request #6355 from B-Teague/merge-gitignore
Consolidate gitignore
2024-01-12 13:29:32 +01:00
Brian Teague
60c639b60e
Consolidate gitignore
Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
2024-01-10 22:16:04 -05:00
Luke Boswell
6bdcc4743a
Merge pull request #6363 from roc-lang/windows-llvm-setjmp-longjmp
fix for bugged setjmp/longjmp on windows/llvm
2024-01-09 22:00:15 +11:00
Brendan Hansknecht
3559326996
Set debug info version
We just missed setting it. Set it as specified in the docs: https://thedan64.github.io/inkwell/inkwell/debug_info/index.html#setting-up-the-module-for-holding-debug-info
Not sure why it is 3, but that is the value in the llvm tutorial as well: https://llvm.org/docs/SourceLevelDebugging.html

Fixes #6367
2024-01-08 20:28:42 -08:00
faldor20
7de39df63e Just stopping typechecking in interfaces when we have a package import 2024-01-09 06:21:35 +10:00
Luke Boswell
6b77aa93d5
force windows_setjmp & windows_longjmp 2024-01-08 12:31:09 +11:00
Folkert
b9b19d6054
fix for bugged setjmp/longjmp on windows/llvm 2024-01-07 23:04:11 +01:00
Richard Feldman
ff2704056e
Fix some tests 2024-01-07 00:00:37 -05:00
faldor20
ff7c2cf21b Fixed in interfaces properly 2024-01-07 14:18:32 +10:00
faldor20
1d2ed391c8 formatting, clippy etx 2024-01-07 12:58:35 +10:00