Skip to content

Document new conversions in general test plan#43427

Merged
jcouv merged 2 commits intomasterfrom
dev/jcouv/doc-conversions
Apr 18, 2020
Merged

Document new conversions in general test plan#43427
jcouv merged 2 commits intomasterfrom
dev/jcouv/doc-conversions

Conversation

@jcouv
Copy link
Member

@jcouv jcouv commented Apr 16, 2020

We forgot to add some recently added conversions to the test plan.

@jcouv jcouv self-assigned this Apr 16, 2020
@jcouv jcouv marked this pull request as ready for review April 16, 2020 23:46
- Tuple literal
- Tuple
- Default literal
- Implicit object creation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider putting (target-typed new) in here as well, as that's what we've been calling it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason I used that name is because the spec currently says "there is a new object creation conversion that is an implicit conversion from expression"
https://github.com/dotnet/csharplang/blob/master/proposals/target-typed-new.md

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. But we call it target-typed new. I'm not saying remove the name, I'm just saying add a thing in parenthesis for ease of future reading.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay that works

@jcouv jcouv requested a review from 333fred April 17, 2020 18:34
@jcouv jcouv merged commit d84800b into master Apr 18, 2020
@ghost ghost added this to the Next milestone Apr 18, 2020
@jcouv jcouv deleted the dev/jcouv/doc-conversions branch April 18, 2020 03:54
@sharwell sharwell modified the milestones: Next, temp, 16.7.P1 Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants