Bug 188494

Summary: Literals are free to unify with any type
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199    

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