resolver: Forbid module-scope declarations from aliasing a builtin

Fixed: tint:1318
Change-Id: Ifcb1aced6885bebcf3eb883f39bfbd0871dae7b0
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70663
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
Ben Clayton
2021-11-26 09:56:19 +00:00
committed by Tint LUCI CQ
parent 9c97592628
commit 0ea236f755
6 changed files with 278 additions and 173 deletions

View File

@@ -5,6 +5,7 @@
### Breaking Changes
* Taking the address of a vector component is no longer allowed.
* Module-scope declarations can no longer alias a builtin name. [tint:1318](https://crbug.com/tint/1318)
### Deprecated Features