Opened 16 years ago

Closed 10 years ago

#1068 closed defect (fixed)

Subscript of ranges in arrays (from MathCore)

Reported by: krsta Owned by: Per Östlund
Priority: high Milestone:
Component: Backend Version:
Keywords: Cc: krsta

Description

All possible subscripting of arrays:

- v[1:4]

- v[3:-1:1]

- v[2,:] 

Implement in Static, Ceval, Codegen, etc.

Change History (5)

comment:2 by Peter Aronsson, 14 years ago

Today, v[3:-1:1] does not work. There might be more things that are missing, therefore all possible ways of subscripting according to the specification must be checked (and testcases added for each case)

comment:3 by Henning Kiel, 10 years ago

Cc: krsta, → krsta
Component: Backend

Today, r25138, v[3:-1:1] does work.

Can this ticket be closed?

comment:4 by Adrian Pop, 10 years ago

Owner: changed from krsta to Per Östlund
Status: newassigned

Per, could you have a look and close this bug if it works? Maybe add a test about it.

comment:5 by Per Östlund, 10 years ago

Resolution: fixed
Status: assignedclosed

Test case added in r25140.

Note: See TracTickets for help on using tickets.