Expand description
v0.27 (ADR 0056): pure inlayHint computation — inferred-type hints
from a cached analysis round’s harvested hint set.
The hints arrive pre-curated from bynkc (annotation-absent let /
let <- bindings and lambda parameters, labels pre-rendered via
Ty::display()); this module only filters to the requested visible
range and converts positions against the analysed snapshot (the v0.24
rule). v0.39 (ADR 0072): the harvested set now carries a HintKind —
Type hints anchor at the span’s end (the label’s leading : /
[ reads as source: x: Int, identity[Int], no padding); Parameter
hints anchor at the argument span’s start with trailing padding, so the
label reads count: 5.
Functions§
- given_
hints - v0.99 (DECISION E): the materializable ghost
giveninlay hints for a file. - inlay_
hints - The hints whose anchor falls inside the requested range.
textis the analysed snapshot the spans are offsets into;hintsis one file’s harvestedHintset.