8079470: Misleading error message when explicit signature constructor is called with wrong arguments
Reviewed-by: jlaskey, hannesw
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
// foo
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/* foo */
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/foo/
^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" // foo }
^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" /* foo */ }
^
SyntaxError: Invalid JSON: <json>:1:9 Expected json literal but found /
{"foo" : /foo/}
^