Actions
Bug #18434
closederror_highlight does not work for -e option
    Bug #18434:
    error_highlight does not work for -e option
  
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
  
        
          
          Updated by mame (Yusuke Endoh) almost 4 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
 
        
          
          Updated by mame (Yusuke Endoh) almost 4 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 4 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