class Prism::Translation::Parser::PrismDiagnostic
error messages.
messages. We create our own diagnostic class in order to set our own
The parser gem has a list of diagnostics with a hard-coded set of error
def initialize(message, level, reason, location)
def initialize(message, level, reason, location) @message = message super(level, reason, {}, location, []) end