Add ignore builtin function - #1587
Conversation
Fixes gpuweb#1499 (but uses 'ignore' rather than 'unused')
|
Maybe the most dodgy part of this is the name of the section "Value-steering". |
| </xmp> | ||
| </div> | ||
|
|
||
| ## Value-steering functions ## {#value-steering-functions} |
There was a problem hiding this comment.
I think we can figure out a larger class of functions that are related to communicating our intent to the compiler, but we can do it later (when the set of this functions is larger than 1).
|
It's more of a markUsed in languages I'm familiar with. Specifically, though you'd only need to use this in order to satisfy unused-var warnings, there is no warning (that I'm aware of) if you end up using it anyway. Also consider |
|
Alternative potential name: |
|
Discussed in 2021-04-06 meeting No very strong feelings on the name, but agreed to 'ignore'. |
Fixes #1499 (but uses 'ignore' rather than 'unused')