<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/prism/result, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Sync Prism to 1.8.0</title>
<updated>2026-01-13T01:59:55+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2026-01-13T01:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a10f7fac1fb1dcbdb1ae41137bd7294764a34793'/>
<id>a10f7fac1fb1dcbdb1ae41137bd7294764a34793</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Feature #21572] Syntax error at capture in alternation pattern</title>
<updated>2025-11-14T12:03:04+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-10-23T15:57:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f4b6a5191ceb0ed0cd7a3e3c8bab24cc0dd15736'/>
<id>f4b6a5191ceb0ed0cd7a3e3c8bab24cc0dd15736</id>
<content type='text'>
Should fail even with `-c` option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should fail even with `-c` option.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Revert "Merge pull request #3606 from tenderlove/clear-flags"</title>
<updated>2025-09-13T13:46:57+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-09-12T21:30:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e74524616013c616744ebf8168f1ad57eee74a05'/>
<id>e74524616013c616744ebf8168f1ad57eee74a05</id>
<content type='text'>
This reverts commit https://github.com/ruby/prism/commit/4052d93cf852, reversing
changes made to https://github.com/ruby/prism/commit/47143d17b3f7.

https://github.com/ruby/prism/commit/f117ec6354
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit https://github.com/ruby/prism/commit/4052d93cf852, reversing
changes made to https://github.com/ruby/prism/commit/47143d17b3f7.

https://github.com/ruby/prism/commit/f117ec6354
</pre>
</div>
</content>
</entry>
<entry>
<title>Interpolated strings must not be frozen</title>
<updated>2025-07-22T15:10:55+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2025-07-22T00:13:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a1403fb7cbd1fe0df97c932be9814c86081783dc'/>
<id>a1403fb7cbd1fe0df97c932be9814c86081783dc</id>
<content type='text'>
Strings concatenated with backslash may end up being frozen when they
shouldn't be.  This commit fixes the issue.  It required a change
upstream in Prism, but also a change to the Prism compiler in CRuby.

  https://github.com/ruby/prism/pull/3606

[Bug #21187]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Strings concatenated with backslash may end up being frozen when they
shouldn't be.  This commit fixes the issue.  It required a change
upstream in Prism, but also a change to the Prism compiler in CRuby.

  https://github.com/ruby/prism/pull/3606

[Bug #21187]
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[ruby/prism] Clear flags on interpolated strings"</title>
<updated>2025-07-22T00:07:04+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-07-22T00:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7dbd9c26361719a45fa39838f46a76d67dc3c2e9'/>
<id>7dbd9c26361719a45fa39838f46a76d67dc3c2e9</id>
<content type='text'>
This reverts commit a495e6a44ce8cff17461b250e32ab63e409a642d.

This break extension builds:

```
/Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:321:in 'String#replace': can't modify frozen String: "$(SDKROOT)$(prefix)/include" (FrozenError)
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:321:in 'RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:314:in 'block in RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'String#gsub'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:314:in 'block in RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'String#gsub'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:314:in 'block in RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'String#gsub'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:325:in 'block in &lt;module:RbConfig&gt;'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:324:in 'Hash#each_value'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:324:in '&lt;module:RbConfig&gt;'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:11:in '&lt;top (required)&gt;'
        from ./ext/extmk.rb:42:in 'Kernel#require'
        from ./ext/extmk.rb:42:in '&lt;main&gt;'
make[1]: *** [ext/configure-ext.mk:70: ext/json/exts.mk] Error 1
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit a495e6a44ce8cff17461b250e32ab63e409a642d.

This break extension builds:

```
/Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:321:in 'String#replace': can't modify frozen String: "$(SDKROOT)$(prefix)/include" (FrozenError)
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:321:in 'RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:314:in 'block in RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'String#gsub'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:314:in 'block in RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'String#gsub'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:314:in 'block in RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'String#gsub'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'RbConfig.expand'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:325:in 'block in &lt;module:RbConfig&gt;'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:324:in 'Hash#each_value'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:324:in '&lt;module:RbConfig&gt;'
        from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:11:in '&lt;top (required)&gt;'
        from ./ext/extmk.rb:42:in 'Kernel#require'
        from ./ext/extmk.rb:42:in '&lt;main&gt;'
make[1]: *** [ext/configure-ext.mk:70: ext/json/exts.mk] Error 1
```
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Clear flags on interpolated strings</title>
<updated>2025-07-21T23:04:42+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2025-07-21T15:20:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a495e6a44ce8cff17461b250e32ab63e409a642d'/>
<id>a495e6a44ce8cff17461b250e32ab63e409a642d</id>
<content type='text'>
When inner strings aren't frozen, we need to clear the flags on
interpolated string nodes so that we don't emit wrong instructions.

The compiler is currently incorrectly emitting frozen strings because
the parser is erroneously declaring interpolated strings as "frozen".
We need to fix this behavior in the parser so we can fix the compiler in
CRuby.  This patch is a partial fix for [this bug](https://bugs.ruby-lang.org/issues/21187)

https://github.com/ruby/prism/commit/eda693f056
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When inner strings aren't frozen, we need to clear the flags on
interpolated string nodes so that we don't emit wrong instructions.

The compiler is currently incorrectly emitting frozen strings because
the parser is erroneously declaring interpolated strings as "frozen".
We need to fix this behavior in the parser so we can fix the compiler in
CRuby.  This patch is a partial fix for [this bug](https://bugs.ruby-lang.org/issues/21187)

https://github.com/ruby/prism/commit/eda693f056
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Mark Prism as ractor-safe</title>
<updated>2025-03-19T21:11:57+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-03-19T20:50:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=641f15b1c6bd8921407a1f045573d3b0605f00d3'/>
<id>641f15b1c6bd8921407a1f045573d3b0605f00d3</id>
<content type='text'>
https://github.com/ruby/prism/commit/c02429765b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/c02429765b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Frozen strings in the AST</title>
<updated>2025-01-12T18:41:42+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-12-20T21:52:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=14b9098459b88f94e316ccc9274693e74565739e'/>
<id>14b9098459b88f94e316ccc9274693e74565739e</id>
<content type='text'>
https://github.com/ruby/prism/commit/8d9d429155
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/8d9d429155
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Handle escapes in named capture names</title>
<updated>2025-01-08T20:36:06+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-01-08T03:49:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c4534c9fe88259de9509e4b75fb6afc31a1f00a7'/>
<id>c4534c9fe88259de9509e4b75fb6afc31a1f00a7</id>
<content type='text'>
https://github.com/ruby/prism/commit/b4b7a69ce7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/b4b7a69ce7
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Do not warn for unused variables on negative lines</title>
<updated>2024-10-10T15:13:10+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-10-10T14:57:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b5ecb03ae40e01ffe57b4dc409f8c96b15e32b12'/>
<id>b5ecb03ae40e01ffe57b4dc409f8c96b15e32b12</id>
<content type='text'>
Fixes [Bug #20788]

https://github.com/ruby/prism/commit/27e91f21af
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Bug #20788]

https://github.com/ruby/prism/commit/27e91f21af
</pre>
</div>
</content>
</entry>
</feed>
