antlr-kotlin icon indicating copy to clipboard operation
antlr-kotlin copied to clipboard

Improve parameter names in `BaseErrorListener`

Open hakanai opened this issue 1 year ago • 0 comments

BaseErrorListener contains some parameter names which are presumably taken directly from the original Java version.

The one which grates on me the most is msg: String in syntaxError - I had renamed this to message in my subclass, but with Kotlin, you get a compiler warning if the names don't match precisely. So really any parameter names in the base class should be un-abbreviated.

hakanai avatar Oct 18 '22 12:10 hakanai