dotnet / dotnet/vblang

`New` expression type argument inference

Open
#217 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

We've talked about inferring the type arguments of a type in a `New` expression based on the arguments to the constructor (which is straightforward). Also want to consider how we could do this given expressions in a collection initializer. This is much harder because it requires gathering candidate `Add` methods, but you can't do that without knowing the type being extended.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.