Project

General

Profile

Actions

Bug #18434

closed

error_highlight does not work for -e option

Added by mame (Yusuke Endoh) over 2 years ago. Updated about 2 years ago.

Status:
Closed
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

Like0
Like0Like0Like0Like0