|
[jira] Created: (BOO-485) Allow using constants / other enum values as valu: msg#00055lang.boo.devel
Allow using constants / other enum values as values for enum members -------------------------------------------------------------------- Key: BOO-485 URL: http://jira.codehaus.org/browse/BOO-485 Project: Boo Type: Improvement Versions: 0.6 Environment: Boo 1894 on Windows Reporter: Daniel Grunwald Priority: Minor Currently, the parser accepts only integer literals as enum values. Boo should be able to use any constant integer expression like C#: import System enum Test: A = 1 B = TWO C = 4 D = A ALL = A | B | C final TWO = 2 print Test.ALL -- 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> |
|---|---|---|
| Previous by Date: | Re: Printing comments with BooPrinterVisitor, Rodrigo B. de Oliveira |
|---|---|
| Next by Date: | [jira] Created: (BOO-486) Shadow/Hide methods, Daniel Grunwald (JIRA) |
| Previous by Thread: | [jira] Created: (BOO-484) For loop similar to Basic's for <var> = <start> to <end> [step <step>]:, Cameron Kenneth Knight (JIRA) |
| Next by Thread: | [jira] Created: (BOO-486) Shadow/Hide methods, Daniel Grunwald (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |