|
[jira] Created: (BOO-500) self(index) instead of [DefaultMember(Item)] Item: msg#00115lang.boo.devel
self(index) instead of [DefaultMember(Item)] Item(index) -------------------------------------------------------- Key: BOO-500 URL: http://jira.codehaus.org/browse/BOO-500 Project: Boo Type: New Feature Components: Compiler Environment: All Reporter: Cameron Kenneth Knight Priority: Minor currently to access an object like an array, you have to do this: [DefaultMember("Item")] class Alpha: Item(index): return DoSomething(index) Alpha()['bravo'] It would make a lot more sense to do class Alpha: self(index): return DoSomething(index) Alpha()['bravo'] -- 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: | [jira] Commented: (BOO-484) For loop similar to Basic's for <var> = <start> to <end> [step <step>]:, Cameron Kenneth Knight (JIRA) |
|---|---|
| Next by Date: | [jira] Commented: (BOO-18) boo primer, Cameron Kenneth Knight (JIRA) |
| Previous by Thread: | [jira] Commented: (BOO-137) optimize for item in array construct, Cameron Kenneth Knight (JIRA) |
| Next by Thread: | [jira] Commented: (BOO-500) self(index) instead of [DefaultMember(Item)] Item(index), Rodrigo B. de Oliveira (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |