mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Case is to when is
This commit is contained in:
parent
9a5b6a03b4
commit
62a004c103
9 changed files with 29 additions and 29 deletions
|
@ -1139,7 +1139,7 @@ pub fn colon_with_indent<'a>() -> impl Parser<'a, u16> {
|
|||
|
||||
pub fn case_with_indent<'a>() -> impl Parser<'a, u16> {
|
||||
move |arena, state: State<'a>| {
|
||||
string(keyword::CASE)
|
||||
string(keyword::WHEN)
|
||||
.parse(arena, state)
|
||||
.map(|((), state)| (state.indent_col, state))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue