Skip to content

Conversation

@dotcarmen
Copy link
Contributor

This started when i noticed a bunch of output in the lsp logs that say cannot deduce fn expression with tag '.enum_literal'

This PR accomplishes the following:

  • opaque types are now also searched for decl literals
  • enum literal types are now resolved if there's a binding type
  • inlay hints are now printed for declaration literal function calls

@dotcarmen dotcarmen changed the title feat: better handling of decl literal functions feat: inlay hints for decl literal functions Jan 5, 2026
@dotcarmen

This comment has been minimized.

@Techatrix Techatrix merged commit 224b83e into zigtools:master Jan 8, 2026
6 checks passed
llogick pushed a commit to llogick/zls that referenced this pull request Jan 8, 2026
- opaque types are now also searched for decl literals
- enum literal types are now resolved if there's a result location type
- inlay hints are now printed for decl literal function calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants