Skip to content

Overload resolution #74535

Closed Answered by CyrusNajmabadi
B1Z0N asked this question in Ideas
Jul 24, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

There is not. That's because overload resolution needs more than that. It needs the actual expressions written, which may not have types yet.

If you need to do overload resolution, generate a new syntax tree with the code you are interested in, and get the semantic model for that to look at.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@B1Z0N
Comment options

@CyrusNajmabadi
Comment options

Answer selected by B1Z0N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants