Skip to content

Conversation

@wise0704
Copy link
Contributor

@wise0704 wise0704 commented Jul 25, 2023

Target-typed new keyword is currently classified incorrectly as a method call.

Related #232, #239

@wise0704
Copy link
Contributor Author

@dotnet-policy-service agree

@JoeRobich
Copy link
Member

Thanks for this enhancement @wise0704! Would you be able to tests for this new behavior in constructor.tests.ts?

@wise0704
Copy link
Contributor Author

Sure, I'll try.

@wise0704
Copy link
Contributor Author

Thanks for this enhancement @wise0704! Would you be able to tests for this new behavior in constructor.tests.ts?

Seems like constructor.tests.ts is for constructor definitions. I added a test to the type-name.tests.ts instead as it seemed the most appropriate.

@JoeRobich
Copy link
Member

Thanks @wise0704!

@JoeRobich JoeRobich merged commit 993e384 into dotnet:main Jul 25, 2023
@wise0704 wise0704 deleted the patch-1 branch July 25, 2023 21:14
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.

2 participants