Project

General

Profile

Bug #13690

next in once causes [BUG]

Added by shyouhei (Shyouhei Urabe) over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:81805]

Description

Thought it was a variant of #13680, but turned out to be a different story.


Files

bug.rb (15 Bytes) bug.rb shyouhei (Shyouhei Urabe), 06/28/2017 08:55 AM

Related issues

Related to Ruby master - Bug #13680: break in once causes [BUG]ClosedActions
#1

Updated by nobu (Nobuyoshi Nakada) over 3 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r59202.


compile.c: disallow next in once

  • compile.c (iseq_compile_each0): turned dregx context in "once" into "guarded" type from "block" type, to disallow next, break, redo as well as outside "once". [ruby-core:81805] [Bug #13690]
#2

Updated by usa (Usaku NAKAMURA) over 3 years ago

  • Related to Bug #13680: break in once causes [BUG] added
#3

Updated by nagachika (Tomoyuki Chikanaga) over 3 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: UNKNOWN, 2.3: REQUIRED, 2.4: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) over 3 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: UNKNOWN, 2.3: REQUIRED, 2.4: DONE

ruby_2_4 r59492 merged revision(s) 59202.

Updated by usa (Usaku NAKAMURA) over 3 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: REQUIRED, 2.4: DONE to 2.2: UNKNOWN, 2.3: DONE, 2.4: DONE

ruby_2_3 r59553 merged revision(s) 59202.

Also available in: Atom PDF