antlr4 icon indicating copy to clipboard operation
antlr4 copied to clipboard

[JavaScript runtime] Bad field name, bad comments

Open kaby76 opened this issue 3 years ago • 0 comments

In this SO question, I took a look at the JavaScript runtime to see if buildParseTrees is defined for a parser. Indeed it is, but I noticed there is one applied occurrence of the field erroneously spelled _buildParseTrees. Of course, in the warped world of JS, this is not caught either by compiler or runtime.

Also, there is no "getBuildParseTree()" noted here and here.

I realize "code reviews" are old school, but relying on a terrible programming language like Javascript to find errors is not going to work.

kaby76 avatar May 15 '22 12:05 kaby76