Begin end block with post-predicate with until does not execute the block at 
least once
---------------------------------------------------------------------------------------

                 Key: JRUBY-982
                 URL: http://jira.codehaus.org/browse/JRUBY-982
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.0.0
         Environment: JRuby head revision, OSX 10.4, WinXP
            Reporter: David Koontz


begin
  puts "hey jruby"
end until 1 == 1

Under ruby this code prints "hey ruby" once, under JRuby it prints nothing.  
Using while as a post-predicate operates properly (executes the begin/end block 
once).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to