antlr-kotlin
antlr-kotlin copied to clipboard
Improve parameter names in `BaseErrorListener`
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.