Project

General

Profile

« Previous | Next » 

Revision 0b7d4737

Added by nobu (Nobuyoshi Nakada) over 8 years ago

safe navigation attrset

  • compile.c (iseq_compile_each): support safe navigation of simple
    attribute assignment. [Feature #11537]
  • parse.y (mlhs_node, lhs, attrset_gen): ditto. keep mid
    non-attrset as the sign of safe navigation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e