<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/prism, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) 117d6e145a0270ab8fc9134403519ef13b9ebb24: [Backport #21027]</title>
<updated>2025-04-06T02:31:57+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2025-04-06T02:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7c315e23983a35d29108d9ba8c914d6320254d43'/>
<id>7c315e23983a35d29108d9ba8c914d6320254d43</id>
<content type='text'>
	[ruby/prism] Fix `not` receiver

	`not foo` should be `!foo`
	`not()` should be `!nil`

	Fixes [Bug #21027]

	https://github.com/ruby/prism/commit/871ed4b462
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/prism] Fix `not` receiver

	`not foo` should be `!foo`
	`not()` should be `!nil`

	Fixes [Bug #21027]

	https://github.com/ruby/prism/commit/871ed4b462
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert all of commits after Prism 0.19.0 release</title>
<updated>2023-12-16T03:08:51+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-12-16T03:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d242e8416e99eaee4465e2681210ae8b7ecd6d34'/>
<id>d242e8416e99eaee4465e2681210ae8b7ecd6d34</id>
<content type='text'>
  We should bundle released version of Prism for Ruby 3.3.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  We should bundle released version of Prism for Ruby 3.3.0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix majority of RBS type mismatches</title>
<updated>2023-12-15T21:14:58+00:00</updated>
<author>
<name>Gopal Patel</name>
<email>nixme@stillhope.com</email>
</author>
<published>2023-12-15T19:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b9542246c92109b9639ee9976ac16f54a8759cfc'/>
<id>b9542246c92109b9639ee9976ac16f54a8759cfc</id>
<content type='text'>
https://github.com/ruby/prism/commit/62cc50e41b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/62cc50e41b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] String literal hash keys should be frozen</title>
<updated>2023-12-15T20:55:13+00:00</updated>
<author>
<name>eileencodes</name>
<email>eileencodes@gmail.com</email>
</author>
<published>2023-12-15T18:44:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2e8cfcac9129ed8680c4b916bc5b4c535ae6e8c8'/>
<id>2e8cfcac9129ed8680c4b916bc5b4c535ae6e8c8</id>
<content type='text'>
String literal hash keys can't be mutated by the user so we should mark
them as frozen. We were seeing instructions for hashes with string
literal keys using two `putstring` instructions when it should be a
`putobject` and `putstring`.

Code example:

```ruby
{ "a" =&gt; "b" }
```

Instructions before:

```
"********* Ruby *************"
== disasm: #&lt;ISeq:&lt;compiled&gt;@&lt;compiled&gt;:1 (1,0)-(2,14)&gt;
0000 putobject                              "a"                       (   2)[Li]
0002 putstring                              "b"
0004 newhash                                2
0006 leave
"********* PRISM *************"
== disasm: #&lt;ISeq:&lt;compiled&gt;@&lt;compiled&gt;:1 (1,0)-(1,14)&gt;
0000 putstring                              "a"                       (   1)[Li]
0002 putstring                              "b"
0004 newhash                                2
0006 leave
```

Instructions after:

```
"********* Ruby *************"
== disasm: #&lt;ISeq:&lt;compiled&gt;@&lt;compiled&gt;:1 (1,0)-(2,14)&gt;
0000 putobject                              "a"                       (   2)[Li]
0002 putstring                              "b"
0004 newhash                                2
0006 leave

"********* PRISM *************"
== disasm: #&lt;ISeq:&lt;compiled&gt;@&lt;compiled&gt;:1 (1,0)-(1,14)&gt;
0000 putobject                              "a"                       (   1)[Li]
0002 putstring                              "b"
0004 newhash                                2
0006 leave
```

https://github.com/ruby/prism/commit/b14ae55385
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
String literal hash keys can't be mutated by the user so we should mark
them as frozen. We were seeing instructions for hashes with string
literal keys using two `putstring` instructions when it should be a
`putobject` and `putstring`.

Code example:

```ruby
{ "a" =&gt; "b" }
```

Instructions before:

```
"********* Ruby *************"
== disasm: #&lt;ISeq:&lt;compiled&gt;@&lt;compiled&gt;:1 (1,0)-(2,14)&gt;
0000 putobject                              "a"                       (   2)[Li]
0002 putstring                              "b"
0004 newhash                                2
0006 leave
"********* PRISM *************"
== disasm: #&lt;ISeq:&lt;compiled&gt;@&lt;compiled&gt;:1 (1,0)-(1,14)&gt;
0000 putstring                              "a"                       (   1)[Li]
0002 putstring                              "b"
0004 newhash                                2
0006 leave
```

Instructions after:

```
"********* Ruby *************"
== disasm: #&lt;ISeq:&lt;compiled&gt;@&lt;compiled&gt;:1 (1,0)-(2,14)&gt;
0000 putobject                              "a"                       (   2)[Li]
0002 putstring                              "b"
0004 newhash                                2
0006 leave

"********* PRISM *************"
== disasm: #&lt;ISeq:&lt;compiled&gt;@&lt;compiled&gt;:1 (1,0)-(1,14)&gt;
0000 putobject                              "a"                       (   1)[Li]
0002 putstring                              "b"
0004 newhash                                2
0006 leave
```

https://github.com/ruby/prism/commit/b14ae55385
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Finish keyword hash node flag refactor by renaming flag</title>
<updated>2023-12-15T18:45:36+00:00</updated>
<author>
<name>Ufuk Kayserilioglu</name>
<email>ufuk.kayserilioglu@shopify.com</email>
</author>
<published>2023-12-15T18:03:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0a31cb1a37f184daa7c2839abd6a827793fdd2f3'/>
<id>0a31cb1a37f184daa7c2839abd6a827793fdd2f3</id>
<content type='text'>
https://github.com/ruby/prism/commit/7f812389f8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/7f812389f8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix eval parsing depth</title>
<updated>2023-12-15T15:19:50+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-15T15:07:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f38814564b1c8d9394ae4568fb0dfd2bbbfe3440'/>
<id>f38814564b1c8d9394ae4568fb0dfd2bbbfe3440</id>
<content type='text'>
https://github.com/ruby/prism/commit/89bf7a4948
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/89bf7a4948
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Invalid pinned locals in pattern matching</title>
<updated>2023-12-15T15:03:49+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-15T13:48:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fe9b42f024eb3724b0853c914916ea7a97fd30a6'/>
<id>fe9b42f024eb3724b0853c914916ea7a97fd30a6</id>
<content type='text'>
https://github.com/ruby/prism/commit/3a67b37a56
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/3a67b37a56
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Add TODO comment</title>
<updated>2023-12-15T13:26:40+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-15T13:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=854ff25f4f4a0c1183b742bd5077985236348c57'/>
<id>854ff25f4f4a0c1183b742bd5077985236348c57</id>
<content type='text'>
https://github.com/ruby/prism/commit/885d1d78cb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/885d1d78cb
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Add an error for `in` keyword in arguments</title>
<updated>2023-12-15T13:25:54+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2023-12-11T03:29:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=16830a47830d6e780b7ce649f0247bdddd32f51d'/>
<id>16830a47830d6e780b7ce649f0247bdddd32f51d</id>
<content type='text'>
Fix https://github.com/ruby/prism/pull/2026

https://github.com/ruby/prism/commit/c4b41cd477
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix https://github.com/ruby/prism/pull/2026

https://github.com/ruby/prism/commit/c4b41cd477
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump prism to version 0.19.0</title>
<updated>2023-12-14T20:06:09+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-14T20:06:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8bbe835cd872a3af411cb6a950e2751c02060f3f'/>
<id>8bbe835cd872a3af411cb6a950e2751c02060f3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
