Skip to content

Conversation

@thevilledev
Copy link
Contributor

Ensure pointers are automatically derefer'd in map keys, slice indices, and conditional expressions. Add dereferencing for map keys to prefer exact type matches (e.g. map[*T]) before falling back to deref'd types. Regression test added.

Fixes #836.

Ensure pointers are automatically derefer'd in map keys, slice
indices, and conditional expressions. Add dereferencing for map
keys to prefer exact type matches (e.g. map[*T]) before falling
back to deref'd types. Regression test added.

Signed-off-by: Ville Vesilehto <[email protected]>
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.

Auto-dereferencing not working

1 participant