[ruby-cvs:78357] 8b4ee5d6ba (master): Raise `NoMatchingPatternError` when expr `in` pat doesn't match

"Nobuyoshi Nakada" <[email protected]>
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
Nobuyoshi Nakada	2019-11-28 13:44:25 +0900 (Thu, 28 Nov 2019)

  New Revision: 8b4ee5d6ba

  https://github.com/ruby/ruby/commit/8b4ee5d6ba

  Log:
    Raise `NoMatchingPatternError` when expr `in` pat doesn't match
    
    * `expr in pattern` should raise `NoMatchingError` when unmatched
    * `expr in pattern` should return `nil`. (this is unspecified, but
      this feature is experimental, at all)
    
    [Feature #16355]

  Modified files:
    parse.y
    test/ruby/test_pattern_matching.rb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.