Bug 188494 - Literals are free to unify with any type
Summary: Literals are free to unify with any type
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 176199
  Show dependency treegraph
 
Reported: 2018-08-12 17:44 PDT by Myles C. Maxfield
Modified: 2018-10-13 15:36 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2018-08-12 17:44:34 PDT
... even vectors and matrices. This is causing a bunch of ambiguous overloads.

Seems like GenericLiteralType.unifyImpl() should check other.isPrimitive
Comment 1 Myles C. Maxfield 2018-08-12 22:49:21 PDT
***other.isNumber
Comment 2 Myles C. Maxfield 2018-10-13 15:36:48 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/102