Project

General

Profile

Actions

Bug #20741

closed

RubyVM::InstructionSequence.compile emits a wrong warning (prism?)

Added by mame (Yusuke Endoh) 2 months ago. Updated 2 months ago.

Status:
Closed
Target version:
-
[ruby-core:119194]

Description

$ ./local/bin/ruby -we 'p RubyVM::InstructionSequence.compile("42").eval'
<compiled>:1: warning: possibly useless use of a literal in void context
42
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0