Previously the errorReporter was incorrectly moved post creating the Lexer. PiperOrigin-RevId: 204077155