mani-language / Mani

Máni ... an awesome, super simple programming language!
https://mani-language.github.io/
Mozilla Public License 2.0
28 stars 7 forks source link

Index out of bounds exception when combining lists into a map #25

Closed Kalekdan closed 5 years ago

Kalekdan commented 5 years ago

If you create 2 lists (of the same size) and try and combine them into a map using map.combine(list1, list2); java throws and indexoutofbounds exception. Will raise pr for fix shortly

Kalekdan commented 5 years ago

Also noticed when performing mymap.exists("keyname"); it would always return false, even if they key existed. Have updated and will include in same pr

crazywolf132 commented 5 years ago

Thank you. Maybe if you want to split to a seperate pr, i will merge straight away

Kalekdan commented 5 years ago

Fixed in PR here (https://github.com/crazywolf132/Mani/pull/26)

crazywolf132 commented 5 years ago

All tests pass. Closing issue.