bignerdranch / Freddy

A reusable framework for parsing JSON in Swift.
MIT License
1.09k stars 120 forks source link

Works around swiftc 4-beta bug in release mode #259

Closed rafaelnobrepd closed 6 years ago

rafaelnobrepd commented 7 years ago

Should close #258

davidahouse commented 6 years ago

@rafaelnobrepd Thanks for bringing up this issue. I have addressed this more robustly in https://github.com/bignerdranch/Freddy/pull/268. Basically I think it is friendlier for the library to throw an error if there is some kind of internal state problem rather than asserting or crashing. If that PR is merged we will close this one, but your contribution is most appreciated!