Project

General

Profile

« Previous | Next » 

Revision 019c6582

Added by st0012 (Stan Lo) almost 3 years ago

[ruby/irb] Remove redundant argument defaults from some RubyLex
methods
(https://github.com/ruby/irb/pull/502)

  • Remove unnecessary parameter defaults

These methods are always called with tokens specified. So their default
@tokens value is never used and is misleading.

  • Remove unnecessary context default

  • Require tokens for RubyLex#check_state