diff options
author | Kevin Newton <kddnewton@gmail.com> | 2024-03-28 15:48:44 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-03-28 20:39:03 +0000 |
commit | a8ec347ca2511bec811908e70923f96b4ddcda21 (patch) | |
tree | 7b1bd744a407bd696ebb9cbad4248b9a983d84a5 /test/prism/fixtures/regex.txt | |
parent | 8780059c38319aa91452e726ca428ca1610e2d88 (diff) |
[ruby/prism] Allow writing to keywords with named captures if they are already locals
https://github.com/ruby/prism/commit/418318e1c8
Diffstat (limited to 'test/prism/fixtures/regex.txt')
-rw-r--r-- | test/prism/fixtures/regex.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/prism/fixtures/regex.txt b/test/prism/fixtures/regex.txt index 1010ffedc3..18200e5cbd 100644 --- a/test/prism/fixtures/regex.txt +++ b/test/prism/fixtures/regex.txt @@ -41,4 +41,6 @@ tap { /(?<a>)/ =~ to_s } /(?<foo>)/ =~ "" /(?<Foo>)/ =~ "" + /(?<nil>)/ =~ "" +def foo(nil:) = /(?<nil>)/ =~ "" |