logo       

[jira] Updated: (BOO-136) generic given statement: msg#00081

lang.boo.devel

Subject: [jira] Updated: (BOO-136) generic given statement

[ http://jira.codehaus.org/browse/BOO-136?page=all ]

Doug Holton updated BOO-136:
----------------------------

Attachment: given-3.patch

given-3.patch implements all the features discussed for given..when statements.
See the included test cases for examples. If anyone wants a build of boo with
this or any other patch enabled, lemme know.

> generic given statement
> -----------------------
>
> Key: BOO-136
> URL: http://jira.codehaus.org/browse/BOO-136
> Project: Boo
> Type: New Feature
> Components: Compiler
> Reporter: Rodrigo B. de Oliveira
> Attachments: given-3.patch
>
>
> given value:
> when 3:
> print("integer 3")
> when "foo":
> print("string foo")
> when /^foo.*bar$/:
> print("begins with foo, ends with bar")

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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise