Project

General

Profile

Actions

Bug #18434

closed

error_highlight does not work for -e option

Added by mame (Yusuke Endoh) 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux]
[ruby-core:106826]

Description

$ ruby -ve '1.time'
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux]
-e:1:in `<main>': undefined method `time' for 1:Integer (NoMethodError)
Did you mean?  times
Actions

Also available in: Atom PDF