JacquesCarette / Drasil

Generate all the things (focusing on research software)
https://jacquescarette.github.io/Drasil
BSD 2-Clause "Simplified" License
136 stars 25 forks source link

Fixed `listSlice` in the other targets #3826

Open B-rando1 opened 4 days ago

B-rando1 commented 4 days ago

I updated the function used by Java, C#, and C++ for listSlice, so listSlice should be consistent now between all 5 targets.

Design decisions:

If beg or end are not given, we find values for them in the same way as with Swift.

We also have to generate the condition for the for-loop:

Closes #3809 Builds on #3820