-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When there was no space between the `:=` and `with` tokens when parsing an inline io statement, for example: ``` operation Foo { input :=with [Bar] {} } ``` the parser would skip the `with` and so not realize its parsing a mixin, failing when it sees a `[` instead of a `{`. This was due to an extra call to `tokenizer.next()`, which skipped the `with`. Usually the `next()` would just skip the space before the `with`, but when the space wasn't present it skipped the `with`. The inline-io test was updated to include this case.
- Loading branch information
1 parent
11fee39
commit 72b87a5
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters