Skip to content

Conversation

@CaseyCarter
Copy link
Contributor

#1603 reports a new failure mode for the default_initializable concept when compiling with MSVC. This PR adds a test case which is disabled for MSVC with links to the pertinent compiler bug DevCom-1326684.

Drive-by:

  • Replace references to VSO-1084668 with the corresponding public DevCom-952724.
  • Don't call it a "workaround" when we assert the wrong result to ensure we notice when the bug is fixed.

microsoft#1603 reports a new failure mode for the `default_initializable` concept when compiling with MSVC. This PR adds a test case which is disabled for MSVC with links to the pertinent compiler bug DevCom-1326684.

Drive-by: Also replace references to VSO-1084668 with the corresponding public DevCom-952724.
@CaseyCarter CaseyCarter added the bug Something isn't working label Feb 1, 2021
@CaseyCarter CaseyCarter requested a review from a team as a code owner February 1, 2021 19:37
@StephanTLavavej StephanTLavavej changed the title Add test coverage for GH-1603 Add test coverage for GH-1603 (default_initializable) Feb 2, 2021
@StephanTLavavej

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@StephanTLavavej

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@StephanTLavavej StephanTLavavej added test Related to test code and removed bug Something isn't working labels Feb 3, 2021
Copy link
Member

@StephanTLavavej StephanTLavavej left a comment

Choose a reason for hiding this comment

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

LGTM. We'll be able to use MSVC_INTERNAL_TESTING to handle the time between the bugs being fixed internally and shipping in VS Preview.

@CaseyCarter
Copy link
Contributor Author

LGTM. We'll be able to use MSVC_INTERNAL_TESTING to handle the time between the bugs being fixed internally and shipping in VS Preview.

Yes, MSVC_INTERNAL_TESTING is a nicely general tool that should allow us to avoid lots of one-off feature-test macros.

@StephanTLavavej StephanTLavavej merged commit 396f901 into microsoft:main Feb 12, 2021
@StephanTLavavej
Copy link
Member

Thanks for reporting this compiler bug and adding corresponding test coverage! 🪲 🔎 😸

@CaseyCarter CaseyCarter deleted the gh1603 branch March 17, 2021 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants