The Wire · Showcase
ELIXIR FIXES SPEC AND ARITY BUGS ACROSS CORE MODULES
By RepoJournal · Filed · About Elixir & Phoenix
Elixir core shipped three precision fixes overnight that tighten specs on IEx and EEx utilities, catching the kind of type mismatches that slip past dialyzer.
The Elixir team landed fixes for `IEx.Info.info/1` spec documentation [1], corrected the `bindings` parameter spec in both `EEx.eval_string/3` and `EEx.eval_file/3` to match what `Code.eval_quoted/3` actually accepts [2], and patched a fallback clause arity bug in `IEx.__break__!/3` [3]. These aren't breaking changes, but they're the kind of invisible correctness work that prevents false dialyzer warnings and keeps type checkers from rejecting valid code. If you're running strict type checking in your pipeline, these specs were generating noise before. Meanwhile, Phoenix LiveView 1.2 support information is being updated [4], signaling the project's evolving maintenance timeline. The Elixir fixes ship as part of the standard release cycle and require no action on existing deployments, but dialyzer users should pull the latest if specs have been a friction point.
Action items
- → Pull latest Elixir at next routine upgrade window elixir-lang/elixir [plan]
- → Review Phoenix LiveView 1.2 support status for your applications phoenixframework/phoenix_live_view [monitor]
References
- [1] Fix `IEx.Info.info/1` spec and update docs (#15600) elixir-lang/elixir
- [2] Fix `EEx.eval_string/3` and `EEx.eval_file/3` specs ↗ elixir-lang/elixir
- [3] Fix `IEx.__break__!/3` fallback clause arity (#15595) elixir-lang/elixir
- [4] Update support information for LV version 1.2 phoenixframework/phoenix_live_view