logo       

[jira] Commented: (BOO-477) Ambiguous reference when some public propery ha: msg#00064

lang.boo.devel

Subject: [jira] Commented: (BOO-477) Ambiguous reference when some public propery has same name as private field

[ http://jira.codehaus.org/browse/BOO-477?page=comments#action_46281 ]

Patrick Haener commented on BOO-477:
------------------------------------

I have tried -strictfinalfieldsemantics but get the same error message.

> Ambiguous reference when some public propery has same name as private field
> ---------------------------------------------------------------------------
>
> Key: BOO-477
> URL: http://jira.codehaus.org/browse/BOO-477
> Project: Boo
> Type: Bug
> Environment: Windows XP
> Reporter: Patrick Haener

>
>
> When IKVM translates Java enums or static fields to CLI public properties and
> private fields with the same name are created. When trying to use the
> properies Boo emits an error:
> ....
> print simfin.finance.product.Currency USD
> gives:
> Ambiguous reference 'USD': simfin.finance.product.Currency USD,
> simfin.finance.product.Currency USD.
> (IronPython handles this case correctly)

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