Ticket #368 (new defect)
Dynamic variables that are Arrays should support Indexing
Reported by: | hopscc | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.9.6 |
Keywords: | Cc: |
Description
If variables or fields are declared as dynamic and typed as Arrays they should support Indexors (read only at least) given how many of the .Net framework APIS return arrays rather than lists/collections.
Currently indexing such a variable emits a 'Cobra.Core.UnknownMemberException?' from the RTL call to Cobra.Core.CobraImp?.getIndexerValue since it only looks for Object/Collection? Indexors and not ones on arrays.
See UnknownMemberException thrown on local variable assignment for a very good example
Attachments
Change History
Note: See
TracTickets for help on using
tickets.