Qqwy / elixir-type_check

TypeCheck: Fast and flexible runtime type-checking for your Elixir projects.
MIT License
517 stars 25 forks source link

fix compilation on elixir 1.17.x #192

Open skwerlman opened 3 weeks ago

skwerlman commented 3 weeks ago

fixes #190

this enables compilation on newer (1.17+) elixirs. i'm pretty unfamiliar with this code so there might be something obvious i'm missing about the implications of the change, so feel free to reject this if its not the right way to solve this.

locally, 6 tests are failing, but they appear to be unchanged vs main (checked with 1.17.2/OTP-27 and 1.16.3/OTP-26). most of these appear to be failing because they rely on small map ordering which changed with OTP 26