Skip to content

v0.1.3

Choose a tag to compare

@onsever onsever released this 31 Jan 07:28
· 7 commits to main since this release

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