这是indexloc提供的服务,不要输入任何密码
Skip to content

1.31.0

  • 1.31.0
  • 2b647ab
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
  • Choose a tag to compare

  • 1.31.0
  • 2b647ab
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@milesziemer milesziemer tagged this 27 Apr 14:43
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.
Assets 2
Loading