[jira] Created: (BOO-1170) for/or bug in generator

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (BOO-1170) for/or bug in generator

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

for/or bug in generator
-----------------------

                 Key: BOO-1170
                 URL: http://jira.codehaus.org/browse/BOO-1170
             Project: Boo
          Issue Type: Bug
         Environment: boo 0.9
            Reporter: George Dernovoy
            Priority: Minor
             Fix For: 0.9.1


def gen():
       
       param = (1,2,3)
       
      for i in param:
               
           yield i
      or:
           yield 0
               
for j in gen():
       
        print j

output:
1
2
3
0 // error !

--
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



[jira] Updated: (BOO-1170) for/or bug in generator

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/BOO-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rodrigo B. de Oliveira updated BOO-1170:
----------------------------------------

    Fix Version/s:     (was: 0.9.1)
                   0.9.2

> for/or bug in generator
> -----------------------
>
>                 Key: BOO-1170
>                 URL: http://jira.codehaus.org/browse/BOO-1170
>             Project: Boo
>          Issue Type: Bug
>         Environment: boo 0.9
>            Reporter: George Dernovoy
>            Priority: Minor
>             Fix For: 0.9.2
>
>
> def gen():
>
>        param = (1,2,3)
>
>       for i in param:
>
>            yield i
>       or:
>            yield 0
>
> for j in gen():
>
>         print j
> output:
> 1
> 2
> 3
> 0 // error !

--
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



[jira] Updated: (BOO-1170) for/or bug in generator

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/BOO-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rodrigo B. de Oliveira updated BOO-1170:
----------------------------------------

    Fix Version/s:     (was: 0.9.2)
                   0.9.3

> for/or bug in generator
> -----------------------
>
>                 Key: BOO-1170
>                 URL: http://jira.codehaus.org/browse/BOO-1170
>             Project: Boo
>          Issue Type: Bug
>         Environment: boo 0.9
>            Reporter: George Dernovoy
>            Priority: Minor
>             Fix For: 0.9.3
>
>
> def gen():
>
>        param = (1,2,3)
>
>       for i in param:
>
>            yield i
>       or:
>            yield 0
>
> for j in gen():
>
>         print j
> output:
> 1
> 2
> 3
> 0 // error !

--
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



[jira] Closed: (BOO-1170) for/or bug in generator

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/BOO-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rodrigo B. de Oliveira closed BOO-1170.
---------------------------------------

    Resolution: Fixed
      Assignee: Rodrigo B. de Oliveira

Fixed in rev. 3435. Thanks for the report!

> for/or bug in generator
> -----------------------
>
>                 Key: BOO-1170
>                 URL: http://jira.codehaus.org/browse/BOO-1170
>             Project: Boo
>          Issue Type: Bug
>         Environment: boo 0.9
>            Reporter: George Dernovoy
>            Assignee: Rodrigo B. de Oliveira
>            Priority: Minor
>             Fix For: 0.9.3
>
>
> def gen():
>
>        param = (1,2,3)
>
>       for i in param:
>
>            yield i
>       or:
>            yield 0
>
> for j in gen():
>
>         print j
> output:
> 1
> 2
> 3
> 0 // error !

--
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