mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
a09f764ce5
* Use local_variables for colorize, code_block_open check, nesting_level and assignment_expression check * Check if expression is an assignment BEFORE evaluating it. evaluate might define new localvars and change result of assignment_expression? * Add local_variables dependent code test * pend local variable dependent test on truffleruby code_block_open is not working on truffleruby * Always pass context to RubyLex#lex * Rename local_variable_assign_code generator method name * Add assignment expression truncate test * Add Context#local_variables and make generate_local_variables_assign_code more simple * Update lib/irb/input-method.rb Co-authored-by: Stan Lo <stan001212@gmail.com> * Add a comment why assignment expression check should be done before evaluate https://github.com/ruby/irb/commit/c8b3877281 Co-authored-by: Stan Lo <stan001212@gmail.com> Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> |
||
---|---|---|
.. | ||
yamatanooroti | ||
test_cmd.rb | ||
test_color.rb | ||
test_color_printer.rb | ||
test_completion.rb | ||
test_context.rb | ||
test_history.rb | ||
test_init.rb | ||
test_option.rb | ||
test_raise_no_backtrace_exception.rb | ||
test_ruby_lex.rb | ||
test_workspace.rb |