diff options
author | Stan Lo <[email protected]> | 2025-01-11 05:29:27 +0800 |
---|---|---|
committer | git <[email protected]> | 2025-01-10 21:29:34 +0000 |
commit | 039446f601663ff7c25bbc2d46dc7de02ba640c2 (patch) | |
tree | 2607f65d29285923dcfa337367f03cf5857e2ea9 /vm_exec.c | |
parent | 4a2702dafb0852d7a7575fd4c7717402f02ccc25 (diff) |
[ruby/irb] Gracefully handle incorrect command aliases
(https://github.com/ruby/irb/pull/1059)
* Gracefully handle incorrect command aliases
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.
* Streamline command parsing and introduce warnings for incorrect command aliases
https://github.com/ruby/irb/commit/9fc14eb74b
Diffstat (limited to 'vm_exec.c')
0 files changed, 0 insertions, 0 deletions