Menu

#1191 Ecmascript fails to parse "void(0)"

PMD-5.1.1
closed
None
PMD
3-Major
Bug
2014-04-27
2014-04-26
No

If the Ecmascript source code contains "void(0)", PMD is unable to build the tree. It just ignores that file and it prints "Error while processing" in the report.
Example,
Ecmascript source code has the following,
(matchFn)?(matcharray = eval(matchFn+"('"+fieldval+"','"+n.id+"')")):void(0);

Related

Discussion: Unable to generate the tree for Ecmascript when I use void(0)

Discussion


Log in to post a comment.