Project

General

Profile

ActionsLike0

Bug #16619

closed

Error message of "x = return 1" is doubled

Added by 5.5 (5 5) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:97106]

Description

The error message of

x = return 1

is doubled such as:

sample.rb:1: void value expression
x = return 1
sample.rb:1: void value expression
x = return 1

Updated by nagachika (Tomoyuki Chikanaga) over 5 years ago

  • Backport changed from 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED to 2.5: REQUIRED, 2.6: DONE, 2.7: REQUIRED

ruby_2_6 r67839 merged revision(s) 6e6844320de989cb88a154e2ac75066ccea1bba2.

Updated by naruse (Yui NARUSE) over 5 years ago

  • Backport changed from 2.5: REQUIRED, 2.6: DONE, 2.7: REQUIRED to 2.5: REQUIRED, 2.6: DONE, 2.7: DONE

ruby_2_7 eabf35a5d298c68f45dc600477fc586d7b868788.

ActionsLike0

Also available in: Atom PDF