Compiler now infers types from patterns in functions to emit warnings for typos, type mismatches, and invalid operations without requiring type annotations.
Summary
Catches bugs at compile-time (misspelled struct fields, invalid comparisons, wrong function calls) without refactoring existing code. Warnings surface in editors immediately, reducing debugging cycles.
Why it matters
Catches bugs at compile-time (misspelled struct fields, invalid comparisons, wrong function calls) without refactoring existing code. Warnings surface in editors immediately, reducing debugging cycles.
Implementation verdict
Replaces syntax-analysis warnings with type-inference-backed detection. Works within single functions only—cross-function analysis comes later. Ready to adopt now: upgrade to v1.17, enable Erlang/OTP 26+, no code changes needed. Drop Erlang/OTP 24 support.
Sources
Dev Signal
Get briefs like this in your inbox — free, every weekday.
100+ sources compressed into one 4-minute read. Ranked, cited, implementation-ready.