Skip to content

[Bug #20965] Define it like an ordinary argument#12398

Merged
k0kubun merged 1 commit intoruby:masterfrom
nobu:it-in-binding
Dec 19, 2024
Merged

[Bug #20965] Define it like an ordinary argument#12398
k0kubun merged 1 commit intoruby:masterfrom
nobu:it-in-binding

Conversation

@nobu
Copy link
Copy Markdown
Member

@nobu nobu commented Dec 19, 2024

@k0kubun
Copy link
Copy Markdown
Member

k0kubun commented Dec 19, 2024

This fixes https://bugs.ruby-lang.org/issues/20955 too.

@k0kubun k0kubun merged commit 46fec0f into ruby:master Dec 19, 2024
@nobu nobu deleted the it-in-binding branch December 19, 2024 07:29
k0kubun added a commit that referenced this pull request Dec 20, 2024
k0kubun added a commit that referenced this pull request Dec 23, 2024
Revert "[Bug #20965] Define `it` like an ordinary argument (#12398)"

Reverts #12398 as per https://bugs.ruby-lang.org/issues/20970#note-6 and https://bugs.ruby-lang.org/issues/20965#note-7.
We need more time to design the intended behavior, and it's too late for Ruby 3.4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants