elixir-tools / spitfire

Error tolerant parser for Elixir
https://www.elixir-tools.dev
MIT License
69 stars 7 forks source link

fix: match error case from `Macro.Env.expand_import/5` #45

Closed zachdaniel closed 1 month ago

zachdaniel commented 2 months ago

I haven't looked deeply into what Macro.Env.expand_import can return. Should we perhaps just match on {:error, _} to be future-proof?

mhanberg commented 1 month ago

Thanks, I fixed this in Next LS but forgot to pull it over.

zachdaniel commented 1 month ago

👍 If you have a chance to LMK when this is released on hex that would be great, but I'll check again in a few days to be sure :)

mhanberg commented 1 month ago

@zachdaniel released