You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address PR review comments (binary unit widths, hint cache key, doc types)
- type_inference: honor `unit` when deciding sub-byte binary segments — the
effective bit width is size * unit, so <<1::size(1)-unit(8)>> is a
byte-aligned binary, not a bitstring. Also handles the 2*4 size*unit
shorthand. Regression tests added.
- type_hints: include (sorted) render opts in the type_hint_at cache key so a
call with e.g. max_length does not poison later calls expecting the default
rendering. Regression test added.
- type_presentation_test: async: false — it mutates the global
:use_elixir_types app env and could race concurrent modules.
- hover docs: variable/attribute/keyword doc typespecs said name: atom() but
builders produce strings; keyword_doc kind corrected :attribute -> :keyword.
- completion_engine: comment no longer claims rendered type forms are always
parseable (open-map markers are not; nil fallback is intentional).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NvwMWQayfdxowBDrnt5iYM
0 commit comments