Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gracefully handle incorrect command aliases #1059

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Gracefully handle incorrect command aliases #1059

wants to merge 2 commits into from

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Jan 3, 2025

Even if the aliased target is a helper method or does not exist, IRB should not crash.

This commit warns users in such cases and treat the input as normal expression.

Fixes #992

Even if the aliased target is a helper method or does not exist, IRB
should not crash.

This commit warns users in such cases and treat the input as normal expression.
@st0012 st0012 added the bug Something isn't working label Jan 3, 2025
@st0012 st0012 self-assigned this Jan 3, 2025
lib/irb.rb Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

next alias crashing
2 participants