Closed gibson042 closed 2 years ago
Responding to https://github.com/tc39/proposal-json-parse-with-source/issues/29#issuecomment-1162465280
The ShallowestContained algorithm doesn't work in general. It may happen to work for the JSON subset, but it forms an attractive nuisance that hides land mines for others who might call it in the future.
cc @waldemarhorwat
Responding to https://github.com/tc39/proposal-json-parse-with-source/issues/29#issuecomment-1162465280
cc @waldemarhorwat