There was an error while loading. Please reload this page.
The following jsonc file returns a diagnostic in 2.2.0:
/// test //////asdf
Diagnostic:
ValueExpected: (20)
I know this is a rare scenario, but I believe this is a valid jsonc file and a diagnostic should not be created.
Additionally, in this scenario the return value of parser.parseTree is undefined yet the return value is not defined as possibly returning that value.
parser.parseTree