Ayaz Hafiz
08d04e8c79
Update reporting tests
2022-11-01 12:06:59 -05:00
Ayaz Hafiz
92a3c48ce5
Implement sketching and pattern specialization for list patterns
2022-11-01 12:06:59 -05:00
Ayaz Hafiz
fbdf76e490
Report type errors in list pattern matches
2022-11-01 12:06:59 -05:00
Ayaz Hafiz
f9cb71fcf7
Report list element pattern type mismatches
2022-11-01 12:06:59 -05:00
Ayaz Hafiz
283f6e8e1e
Give localized region for expected list elem pattern
2022-11-01 12:06:59 -05:00
Anton-4
dbe45c26d0
enable more windows tests
2022-11-01 17:36:53 +01:00
Anton-4
d7759bad16
Merge branch 'main' of github.com:roc-lang/roc into windows-tests
2022-11-01 17:27:51 +01:00
Ayaz
cb61f51814
Merge pull request #4441 from roc-lang/can-list-patterns
...
Canonicalization + Constraining of list patterns
2022-11-01 09:13:08 -05:00
Anton-4
de99d7b385
fix cache env var
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-01 13:58:45 +01:00
Anton-4
05d48ec5d4
fixed macos retry zig
2022-11-01 09:32:36 +01:00
Brian Carroll
9ebf934ee7
Merge pull request #4444 from roc-lang/windows-cli-tests
...
Windows cli tests
2022-11-01 06:43:23 +00:00
Richard Feldman
fb799d1d24
clippy
2022-11-01 01:27:15 -04:00
Richard Feldman
211a5adcf6
fix a test
2022-11-01 01:26:22 -04:00
Richard Feldman
afa88bfd41
Don't shadow unnecessarily
2022-11-01 01:24:58 -04:00
Richard Feldman
560c984d30
Fix error filtering region math
2022-11-01 01:20:52 -04:00
Richard Feldman
167e8a40de
Print (filtered) warnings in the repl again
2022-11-01 00:25:11 -04:00
Richard Feldman
9854dceec8
Filter out warnings and errors for past defs
2022-11-01 00:24:49 -04:00
Richard Feldman
0980d2d357
Add Problem::region
2022-11-01 00:23:54 -04:00
Richard Feldman
4ace05ea5d
Revert "Start attempting to offset parse error regions"
...
This is going to be a bigger project than I want to take on right now.
This reverts commit 3304f37b78
.
2022-10-31 23:25:32 -04:00
Richard Feldman
3304f37b78
Start attempting to offset parse error regions
2022-10-31 23:25:24 -04:00
Richard Feldman
d0fe108564
Update AUTHORS
2022-10-31 20:58:26 -04:00
Richard Feldman
50d9755758
Merge pull request #4429 from austinclem1/main
...
add missing indent when formatting single-quoted char in pattern
2022-10-31 17:56:06 -07:00
Richard Feldman
220c362671
Merge remote-tracking branch 'origin/main' into repl
2022-10-31 20:49:28 -04:00
Richard Feldman
5e00522a47
Merge pull request #4443 from joshuawarner32/move-min_indent-to-parse-pr
...
Refactor Parser trait to pass min_indent
2022-10-31 17:46:05 -07:00
Richard Feldman
8b4aebd7a5
Merge branch 'main' into tutorial-tag-unions
...
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-10-31 17:41:01 -07:00
Richard Feldman
2456884f6f
Some more tweaks to tag union docs
2022-10-31 20:32:50 -04:00
Richard Feldman
fdbba862bd
Update docs on returned tag unions
2022-10-31 20:25:42 -04:00
Folkert
a44cd68419
update comments
2022-10-31 23:56:53 +01:00
Folkert
bb893a70a0
actually put in the chkstk helper
2022-10-31 23:47:06 +01:00
Folkert
708de4136b
add assembly bytes for ___chkstk_ms
2022-10-31 23:28:14 +01:00
Ayaz Hafiz
9ab5d0efb8
Constraining of list patterns
2022-10-31 17:05:08 -05:00
Ayaz Hafiz
7b87d0093e
Update reporting tests
2022-10-31 17:05:08 -05:00
Ayaz Hafiz
058d1f0b5d
Add tests for multiple rest pattern errors
2022-10-31 17:05:07 -05:00
Ayaz Hafiz
b0a8b85de3
Canonicalization of list patterns
2022-10-31 17:04:47 -05:00
Folkert
4e5f6c3def
Revert "try host.zig for better debugger experience"
...
This reverts commit 93ec648a61
.
2022-10-31 22:58:50 +01:00
Folkert
0cada70627
add comment about removeing \r
2022-10-31 22:48:50 +01:00
Folkert de Vries
55ea3bbea2
Merge pull request #4437 from roc-lang/windows-effect-loop-scratchpad
...
windows: working cli benchmark tests
2022-10-31 22:33:10 +01:00
Anton-4
4ec43d9964
Closes #4423 , link build command refactoring
2022-10-31 21:32:38 +01:00
Joshua Warner
07be8ec000
Refactor Parser trait to pass min_indent
...
This removes the need to explicitly pass thru min_indent when using the parser combinators.
My ultimate goal here is to evolve the current parser closer toward a purely combinator-based parser,
at which point we can more easily transition smoothly to a formal(ish) grammar, or expand the meanings of combinators
to include things like:
* Incremental (re)parsing
* Unified parsing and formatting code
* Better error recovery
* Using the main parser directly for syntax highlighting
2022-10-31 13:31:47 -07:00
Richard Feldman
c3641d38d2
Add targets for repl_test
2022-10-31 16:14:59 -04:00
Richard Feldman
0be3632da3
fix some wasm repl tests
2022-10-31 16:08:46 -04:00
Richard Feldman
367d4fbb71
Use the right wasm feature flags
2022-10-31 15:26:10 -04:00
Richard Feldman
bc2ec738a0
Merge pull request #4281 from lucacervello/suggest-lambda-operator
...
Add suggest lambda operator instead of when
2022-10-31 10:29:46 -07:00
Richard Feldman
54a1a92d8a
Merge pull request #4402 from roc-lang/its-important-to-open-up
...
Open in Output Position (OIOP)
2022-10-31 10:28:29 -07:00
Ayaz Hafiz
5e891a3501
Add comment on when heuristic can be removed
2022-10-31 09:48:25 -05:00
Ayaz Hafiz
04e8e26faf
Fix env var typo
2022-10-31 09:46:07 -05:00
Ayaz Hafiz
bb02104436
Fix typo
2022-10-31 09:44:22 -05:00
Ayaz Hafiz
b3956569a6
Add comment on inlining
2022-10-31 09:43:28 -05:00
Ayaz Hafiz
07f5d0c7fd
Clarify TODO
2022-10-31 09:39:29 -05:00
Ayaz Hafiz
508ee8d428
Update repl test with OIOP
2022-10-31 09:38:23 -05:00