Skip to content

Stop aliasing load/require to ruby_load/ruby_require - #1256

Merged
tompng merged 1 commit into
ruby:masterfrom
tompng:rm_load_require_alias
Sep 24, 2026
Merged

tompng merged 1 commit into
ruby:masterfrom
tompng:rm_load_require_alias

Conversation

@tompng

@tompng tompng commented Sep 23, 2026

Copy link
Copy Markdown
Member

Fixes #1255

Aliasing them in a module is deprecated in ruby-4.1.0dev, and aliasing wasn't necessary in that module.

Comment thread lib/irb/command/load.rb Outdated
Aliasing them in a module is deprecated in ruby-4.1.0dev, and aliasing wasn't necessary in that module.
@tompng
tompng force-pushed the rm_load_require_alias branch from 4146bfa to f95734b Compare September 24, 2026 11:01
@tompng
tompng merged commit 09ba720 into ruby:master Sep 24, 2026
40 checks passed
@tompng
tompng deleted the rm_load_require_alias branch September 24, 2026 11:43
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.

IRB::IrbLoader aliases of load/require trigger the alias-fallback deprecation warning on Ruby master

2 participants