Joshua Warner
270cc49867
Also check formatting is stable in tests; ignore a test that's invalid / incorrect
2021-12-02 17:46:50 -08:00
Joshua Warner
595ce5e81a
Check that formatting is stable before writing the result to a file
2021-12-02 17:17:56 -08:00
Matthias Devlamynck
1be01a85e7
Remove unnecessary unwraps in CLIs by using subcommand()
2021-12-02 09:33:48 +01:00
Richard Feldman
f80409800d
Merge pull request #2091 from rtfeldman/remove-empty-layouts
...
Remove empty layouts
2021-11-27 23:32:15 -05:00
Folkert de Vries
efe07ea4e1
Merge pull request #2090 from rtfeldman/joshuawarner32/fix-remove-spaces-oversights
...
Fix a few places non-0 Located slipped by RemoveSpaces
2021-11-27 16:48:53 +01:00
Joshua Warner
54317f4c0c
Fix a few places non-0 Located slipped by RemoveSpaces
2021-11-27 07:15:05 -08:00
Folkert
a1fd34feef
remove empty layout types (list,str,dict,set)
2021-11-27 14:05:16 +01:00
Joshua Warner
16cf95cf6e
Improve formatting of formatter error messages, and also write out the invalidly formatted file separately
2021-11-26 17:18:11 -08:00
Joshua Warner
2547c2ef47
Add comment
2021-11-26 14:03:49 -08:00
Joshua Warner
08c1317cf8
Verify ast matches before/after formatting
2021-11-26 14:00:36 -08:00
Folkert
612f868652
make VariableSubsSlice an alias
2021-11-25 20:29:34 +01:00
Joshua Warner
c5388ba3ad
use std::env::current_dir
2021-11-22 20:45:12 -08:00
Joshua Warner
3f8c6be9e9
Implement 'roc format <dir_or_files>' command
2021-11-22 18:00:25 -08:00
Folkert
dc44eaac97
cleanup
2021-11-21 14:11:18 +01:00
Folkert
073d5205ca
fix repl bug
2021-11-21 02:16:57 +01:00
Folkert
406974824b
fix repl
2021-11-21 00:55:05 +01:00
Folkert
c4ec9aa898
working mono
2021-11-20 23:25:30 +01:00
Folkert de Vries
71233fcfc1
Merge pull request #2012 from rtfeldman/i/1714
...
Take syntactic sugar into account when reporting errors
2021-11-19 10:26:24 +01:00
Richard Feldman
f61f19d817
Merge pull request #1989 from rtfeldman/enhancement/1814
...
WIP: Print rebuild logs when rebuilding the host
2021-11-18 22:30:34 -05:00
ayazhafiz
8b7217847d
Rename additional stale roc_module::operator refs and format
2021-11-18 20:20:33 -05:00
ayazhafiz
8a60162a1e
Rename roc_module::operator -> roc_module::called_via
...
A bit of a nit, but this file is now more general than just keeping
track of operator methods.
2021-11-18 20:20:33 -05:00
Callum Dunster
f972098e70
Move reporting module into root.
2021-11-16 19:58:21 +01:00
Cristiano Piemontese
1feab3651c
add host rebuild info logs
2021-11-16 12:43:22 +01:00
Anton-4
0f064c121e
Merge branch 'trunk' into valgrind_instr_fix
2021-11-16 12:24:26 +01:00
Richard Feldman
28273b67da
Merge pull request #1970 from rtfeldman/shrink-call-type
...
Shrink call type
2021-11-15 19:56:21 -08:00
Anton-4
7330e3b11a
clippy fix
2021-11-15 15:12:37 +01:00
Anton-4
6e23919811
put mcpu in comments
2021-11-15 13:43:19 +01:00
Folkert de Vries
066487ea6e
Merge branch 'trunk' into joshuawarner32/use-collection-4
2021-11-14 13:31:46 +01:00
Folkert
fcb89cbcd8
Merge remote-tracking branch 'origin/trunk' into shrink-call-type
2021-11-13 19:31:30 +01:00
Joshua Warner
d63405d824
Make Expr::List use a Collection
2021-11-13 07:38:11 -08:00
Joshua Warner
a4ca6a31a6
Use Collection in Expr::Record and related places
2021-11-13 07:36:05 -08:00
Folkert
d18c09a21d
misc other clippy things
2021-11-13 16:04:50 +01:00
Anton-4
030a504bd2
valgrind flag
2021-11-13 14:39:15 +01:00
Folkert
38da99b1ac
make it work
2021-11-11 23:36:35 +01:00
Folkert
c827256e47
Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust
2021-11-11 18:58:49 +01:00
Richard Feldman
f82ca36b19
Merge pull request #1939 from rtfeldman/cli_improvements
...
cli improvements, added examples to nightly release
2021-11-11 00:21:56 +01:00
Folkert
acb26002c8
fix repl
2021-11-10 23:36:16 +01:00
Folkert
144dbef434
Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust
2021-11-10 17:19:30 +01:00
Folkert
5632e3159d
remove im dependency where not needed
2021-11-10 16:00:22 +01:00
Anton-4
f5dc3ac3aa
fmt
2021-11-10 10:07:13 +01:00
Folkert
a9ce02799c
WIP
2021-11-09 21:37:56 +01:00
Anton-4
46a09d81e8
cli improvements, added examples to nightly package
2021-11-09 17:25:18 +01:00
Folkert
a9d483cb60
Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust
2021-11-08 22:31:17 +01:00
Brendan Hansknecht
edfde281b2
remove unused lock file
2021-11-07 20:22:26 -08:00
Brendan Hansknecht
cbc0b3c0cf
Pull cli_utils out of cli to stop them from always building
2021-11-07 18:33:52 -08:00
Folkert
0e1e3381f0
Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust
2021-11-07 15:29:55 +01:00
Brendan Hansknecht
deb0d167e8
Minimize clap features
2021-11-06 15:07:21 -07:00
Brendan Hansknecht
74a55f53f3
Switch back to cranelift due to versioning and aarch64 issues
2021-11-06 14:24:58 -07:00
Brendan Hansknecht
40f0271ccf
Fix M1 mac build
...
I changed wasmer to use the llvm backend because it compiles the fastest and supports aarch64.
If we later run into llvm versioning issues of some sort, we should switch this to cranelift.
Also re-adds serde-json which is used on macos.
2021-11-06 14:08:19 -07:00
Brendan Hansknecht
73e2cbcb1e
Make versions numbers consistent and matching the lock files
2021-11-06 13:24:45 -07:00