Rather than instantiating these functions inside CallExpression they should be done later, but at some point before Checker.
*** This bug has been marked as a duplicate of bug 187988 ***
Migrated to https://github.com/gpuweb/WHLSL/issues/94