Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document new conversions in general test plan #43427

Merged
merged 2 commits into from
Apr 18, 2020
Merged

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
@@ -308,6 +308,8 @@ __makeref( x )
- Interpolated string
- 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