Ben Clayton e86758cb26 reader/wgsl: Error if 'struct' has attributes
Attributes were being parsed, constructed, then thrown away, when declared on a structure. This was triggering the unreachable-AST node seatbelt in the Resolver.

Replace the confusing `Maybe<bool>` return types with `Maybe<Void>`. The boolean return value was not actually being used, as logic was (correctly) using the `Maybe` error / matched state.

Bug: chromium:1352803
Change-Id: I39e4994e3e9b13201ba4f4e4820cd4b2f46e93c5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99100
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: David Neto <dneto@google.com>
2022-08-17 18:57:49 +00:00
..
2022-07-25 13:41:21 +00:00
2022-08-03 21:40:46 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-08-17 12:46:39 +00:00
2022-08-17 12:46:39 +00:00
2022-07-18 20:50:02 +00:00
2022-07-18 20:50:02 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-08-01 17:25:44 +00:00
2022-08-02 17:03:35 +00:00