groovy

A labelled continue statement does not appear to correctly imitate its Java counterpart.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5
  • Fix Version/s: 1.5.2, 1.6-rc-2
  • Component/s: None
  • Labels:
    None
  • Environment:
    Win XP, jdk1.6.0_03, Groovy v1.5.0
  • Number of attachments :
    2

Description

The labelled continue statement in the acoompanying Groovy code cycles indefinitely, seemingly without the control variable ever changing from zero. The Java implementation appears to work as expected.

  1. Ex21.java
    09/Jan/08 2:16 PM
    0.8 kB
    Ken Barclay
  2. Example21.groovy
    09/Jan/08 2:16 PM
    0.6 kB
    Ken Barclay

Activity

Hide
blackdrag blackdrag added a comment -

fixed

Show
blackdrag blackdrag added a comment - fixed

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: