Opened 16 years ago

Closed 9 years ago

#1068 closed defect (fixed)

Subscript of ranges in arrays (from MathCore)

Reported by: krsta Owned by: perost
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 Changed 14 years ago by petar

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 Changed 9 years ago by hkiel

  • Cc changed from krsta, to krsta
  • Component set to Backend

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

Can this ticket be closed?

comment:4 Changed 9 years ago by adrpo

  • Owner changed from krsta to perost
  • Status changed from new to assigned

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

comment:5 Changed 9 years ago by perost

  • Resolution set to fixed
  • Status changed from assigned to closed

Test case added in r25140.

Note: See TracTickets for help on using tickets.