James Price 611f727a09 [validation] Handle variable scoping for nested blocks
* Push/pop the variable scope stack when validating blocks
* Handle nested blocks in ValidateStatement()
* Add test coverage

This also fixes issues with other types of validation errors not being
caught when inside nested blocks.

Change-Id: Ia8d0138b346a8a7aa607497d51fd6aaf675dc8be
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/39980
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
2021-02-02 14:28:15 +00:00
..
2021-01-29 16:43:41 +00:00
2021-01-21 15:30:10 +00:00
2020-12-03 17:44:19 +00:00
2021-01-29 10:55:40 +00:00
2020-11-03 16:26:09 +00:00
2020-12-02 15:31:08 +00:00
2020-12-10 16:56:02 +00:00
2020-12-10 16:56:02 +00:00
2020-12-10 16:56:02 +00:00