nuprl / ElementaryJS

JavaScript without the sharp edges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DynChecks spill Stopify code

joydeep-b opened this issue · comments

MWE:

function foo() {
}

if (foo) {
}

Output:
image

The problem is that the dyn checks print out string conversions for error reporting, and sometimes those strings could be Stopify-compiled code.

Solution: Add case handling for functions before printing errors.