mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-09 14:45:58 +00:00
This was calling Type() without actually checking that the resolve succeeded. Have the caller resolve the AST type to the semantic type, so that there's a sensible place to handle errors. Change-Id: I8fae91854377994f68a924fe8104a48a8afe150e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53042 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>