Project

General

Profile

Actions

Bug #13690

closed

next in once causes [BUG]

Added by shyouhei (Shyouhei Urabe) almost 7 years ago. Updated over 6 years ago.

Status:
Closed
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 1 (0 open1 closed)

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

Updated by nobu (Nobuyoshi Nakada) almost 7 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]
Actions #2

Updated by usa (Usaku NAKAMURA) almost 7 years ago

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

Updated by nagachika (Tomoyuki Chikanaga) over 6 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 6 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 6 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0