logo       

[jira] Created: (BOO-498) CollectionAttribute + value type = madness: msg#00104

lang.boo.devel

Subject: [jira] Created: (BOO-498) CollectionAttribute + value type = madness

CollectionAttribute + value type = madness
------------------------------------------

Key: BOO-498
URL: http://jira.codehaus.org/browse/BOO-498
Project: Boo
Type: Bug
Components: Boo.Lang.Useful
Versions: 0.6
Reporter: Arron Washington
Fix For: 0.7


The CollectionAttribute (or perhaps AbstractAttribute) appears to be using "is"
for comparisons, and of course that does not work for value types.

I'm not familiar with the underpinnings of the code, but it should probably
invoke the Equals member instead of doing an "is" comparison.

Sample:

import Useful.Collections from 'Boo.Lang.Useful'
[Collection(int)]
class collect:
pass

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