Project

General

Profile

Actions

Bug #18434

closed

error_highlight does not work for -e option

Added by mame (Yusuke Endoh) almost 3 years ago. Updated almost 3 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 #2

Updated by mame (Yusuke Endoh) almost 3 years ago

  • Backport changed from 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED
Actions #3

Updated by mame (Yusuke Endoh) almost 3 years ago

  • Status changed from Open to Closed

Applied in changeset git|0dc7816c4350683ccd020f5759eee4914de0085d.


Make RubyVM::AST.of work with code written in -e command-line option

[Bug #18434]

Updated by naruse (Yui NARUSE) almost 3 years ago

  • Backport changed from 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: DONE

ruby_3_1 20091ccad34904cb5ded13a8787f6662a8e2df68 merged revision(s) 0dc7816c4350683ccd020f5759eee4914de0085d.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0