summaryrefslogtreecommitdiff
path: root/test/ruby/test_pattern_matching.rb
Commit message (Expand)AuthorAgeFilesLines
* skip if `DidYouMean.formatter=` is not definedKoichi Sasada2023-04-161-2/+2
* [Bug #19175] p_rest should be `assignable'Kazuki Tsujimoto2023-03-261-0/+8
* [Bug #19195] Allow optional newlines before closing parenthesisNobuyoshi Nakada2022-12-131-0/+2
* Fix unexpected "duplicated key name" error in paren-less one line pattern mat...Kazuki Tsujimoto2022-09-091-0/+12
* [Bug #18890] Suppress warnings and fix the messageNobuyoshi Nakada2022-07-081-6/+13
* [Bug #18890] newline should be insignificant after pattern labelNobuyoshi Nakada2022-07-061-0/+15
* Find pattern is no longer experimental [Feature #18585]Kazuki Tsujimoto2022-02-191-20/+0
* Disable did_you_mean in TestPatternMatchingYuki Nishijima2021-10-221-0/+19
* Allow omission of parentheses in one line pattern matching [Feature #16182]Kazuki Tsujimoto2021-08-191-7/+7
* Show verbose error messages when single pattern match failsKazuki Tsujimoto2021-08-151-0/+127
* One-line pattern matching is no longer experimentalKazuki Tsujimoto2021-07-171-2/+0
* Add pattern matching pin support for instance/class/global variablesJeremy Evans2021-07-151-0/+24
* Pattern matching pin operator against expression [Feature #17411]Kazuki Tsujimoto2021-03-211-0/+23
* test/ruby/test_pattern_matching.rb: Avoid a warningYusuke Endoh2021-01-191-0/+1
* Mark pattern labels as unremoveableVladimir Dementyev2021-01-191-0/+10
* Make NoMatchingPatternError a subclass of StandardErrorKazuki Tsujimoto2020-12-231-0/+4
* Reintroduce `expr in pat` [Feature #17371]Kazuki Tsujimoto2020-12-131-1/+5
* Pattern matching is no longer experimentalKazuki Tsujimoto2020-11-011-2/+2
* Assoc pattern matching (#3703)Nobuyoshi Nakada2020-10-261-11/+11
* Suppress "assigned but unused variable" warningsKazuki Tsujimoto2020-06-271-4/+4
* Add #deconstruct cache to find patternVladimir Dementyev2020-06-271-0/+9
* Optimize array pattern matching by caching #deconstruct valueVladimir Dementyev2020-06-271-0/+79
* Introduce find pattern [Feature #16828]Kazuki Tsujimoto2020-06-141-0/+57
* Suppress an "assigned but unused variable" warningYusuke Endoh2020-03-031-0/+1
* Preserve `kwarg` flag and fix up f5c904c2a9Nobuyoshi Nakada2020-03-031-0/+2
* Suppress "assigned but unused variable" warningsYusuke Endoh2020-03-021-0/+2
* Allow newlines inside braced patternNobuyoshi Nakada2020-03-021-0/+14
* Allow trailing comma in hash patternKazuki Tsujimoto2020-03-011-0/+9
* test/ruby/test_pattern_matching.rb: suppress "unused variable" warningYusuke Endoh2019-12-211-0/+17
* Added `experimental` warning categoryNobuyoshi Nakada2019-12-201-4/+22
* Make single line pattern matching void expressionNobuyoshi Nakada2019-11-301-2/+2
* Raise `NoMatchingPatternError` when expr `in` pat doesn't matchNobuyoshi Nakada2019-11-281-1/+4
* Avoid needless object allocationKazuki Tsujimoto2019-11-191-0/+2
* Disallow omission of parentheses/brackets in single line pattern matching [Fe...Kazuki Tsujimoto2019-11-101-1/+7
* Define Struct#deconstruct_keysKazuki Tsujimoto2019-11-081-0/+24
* Disallow duplicated pattern variableKazuki Tsujimoto2019-11-071-8/+59
* Restore `in_kwarg` flag properlyNobuyoshi Nakada2019-10-291-0/+1
* [EXPERIMENTAL] Expression with modifier `in`Nobuyoshi Nakada2019-09-261-0/+7
* Make pattern matching support **nil syntaxKazuki Tsujimoto2019-09-011-0/+38
* Fixed an assertionNobuyoshi Nakada2019-06-301-1/+1
* Simplified the guard against old versionsNobuyoshi Nakada2019-05-211-5/+2
* test/ruby/test_pattern_matching.rb: add missing tests for NODE_DASGN, NODE_LASGNktsj2019-04-211-0/+18
* Add missing test for p_var_refktsj2019-04-211-0/+6
* Add missing tests for p_argsktsj2019-04-211-0/+29
* Suppress warning in assertion tookazu2019-04-171-0/+3
* Suppress warnings in `make test-all`kazu2019-04-171-0/+7
* Define Struct#deconstructktsj2019-04-171-0/+12
* Introduce pattern matching [EXPERIMENTAL]ktsj2019-04-171-0/+1075