Repository navigation
v0.1.3
Bug Fix
Fixed type resolution for variable arguments in Execute calls.
resolveDataTypeViaTypes used only types.Info.Types, which excludes identifier expressions denoting declared objects (variables, parameters). When Execute is called with a variable (e.g., tpl.Execute(w, questions)), the data type resolved to nil, breaking hover, go-to-definition, and diagnostics for all template fields.
Now falls back to types.Info.ObjectOf for identifiers, correctly resolving variable types including anonymous structs.
Full Changelog: v0.1.2...v0.1.3