mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Parse a : before each effects entry
This commit is contained in:
parent
51b838010c
commit
c8b28b96fa
4 changed files with 34 additions and 11 deletions
|
@ -2454,7 +2454,11 @@ fn unpack_exposes_entries<'a>(
|
|||
|
||||
while let Some(effects_entry) = stack.pop() {
|
||||
match effects_entry {
|
||||
EffectsEntry::Effect { ident, ann } => {
|
||||
EffectsEntry::Effect {
|
||||
ident,
|
||||
spaces_before_colon: _,
|
||||
ann,
|
||||
} => {
|
||||
output.push((ident, ann));
|
||||
}
|
||||
EffectsEntry::SpaceAfter(nested, _) | EffectsEntry::SpaceBefore(nested, _) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue