That way, if we ever short-circuit a TypeRef, it'll be OK. And Rewriter will be able to rewrite TypeRef.type.
Created attachment 319623 [details] the patch
Landed in https://trac.webkit.org/changeset/221487/webkit
<rdar://problem/34693792>
Migrated to https://github.com/gpuweb/WHLSL/issues/201