speckleworks / SpeckleCore

Check a brand new Speckle at: https://github.com/specklesystems
https://speckle.systems
MIT License
38 stars 17 forks source link

Avoid index out of bounds error when deserialising empty lists. #127

Closed se-li closed 5 years ago

se-li commented 5 years ago

Added checks to avoid throwing exceptions when trying to access items in zero-length lists

didimitrie commented 5 years ago

looks good, thanks for spotting this! I'll merge away.

se-li commented 5 years ago

Oh you were quick :) Cheers!

didimitrie commented 5 years ago

Heh, i try to be responsive - doesn't always play out like this though...