Bug 188494
Summary: | Literals are free to unify with any type | ||
---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED MOVED | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 176199 |
Myles C. Maxfield
... even vectors and matrices. This is causing a bunch of ambiguous overloads.
Seems like GenericLiteralType.unifyImpl() should check other.isPrimitive
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
***other.isNumber
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/102