Skip to content

Spelling - #743

Merged
Stephan T. Lavavej (StephanTLavavej) merged 10 commits into
microsoft:masterfrom
jsoref:spelling
Apr 30, 2020
Merged

Stephan T. Lavavej (StephanTLavavej) merged 10 commits into
microsoft:masterfrom
jsoref:spelling

Conversation

@jsoref

Copy link
Copy Markdown
Contributor

Most of these changes are to tests.

I'm happy to drop/adjust commits.

The visual studio change is probably the one most likely to be controversial. I know people like being cute and using product names, but in many projects, product names are often misspelled, so it's best to avoid whitelisting misspellings of product names. (I liked the meow and or 🐈 references.)

This PR was developed using my check-spelling action.

Validation for the changes can be seen in the ✔ in spell-check.

The check-spelling configuration is derived from the version I worked on with Dustin L. Howett (MSFT) (@DHowett-MSFT) and friends for https://github.com/microsoft/terminal.

@jsoref
Josh Soref (jsoref) requested a review from a team as a code owner April 24, 2020 05:56
Comment thread tests/std/tests/Dev11_0000000_user_defined_literals/test.cpp Outdated
Comment thread tests/std/tests/Dev11_0000000_user_defined_literals/test.cpp Outdated
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added the enhancement Something can be improved label Apr 24, 2020
@StephanTLavavej

Copy link
Copy Markdown
Member

These are really great catches, thanks!

@CaseyCarter Casey Carter (CaseyCarter) left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Josh Soref (@jsoref): "The 'visual studio' change is probably the most controversial"
Me: "Whatever... you're stepping on my hilarious comment jokes!"
Stephan T. Lavavej (@StephanTLavavej): "You're damaging the correctness of this test."
Me: "HEY - I'M TRYING TO BE FUNNY OVER HERE."

Comment thread tests/std/tests/P0220R1_optional/test.cpp
Comment thread tests/std/tests/P0898R3_concepts/test.cpp Outdated
Co-Authored-By: Stephan T. Lavavej 
@jsoref

Copy link
Copy Markdown
Contributor Author

Stephan T. Lavavej (@StephanTLavavej): If you like them, I'll create a PR to add the action.

It's really helpful.

(And you can customize the dictionary, e.g. to remove anticausotic -- which, yeah, wasn't a word I'd ever seen before... it was just right next to a word that didn't have an o which was what I was looking for at the time...)


// VSO-152213 ": is_function does not match qualified function types"
// VSO-154500 ": [Feedback]std::is_function returns false for cv/ref qualified functions"
// C++14 LWG-2196 "Specification of is_*[copy/move]_[constructible/assignable] unclear for non-referencable types"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this a name of external issue?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The typo is indeed in the name of https://cplusplus.github.io/LWG/issue2196 but I see no reason why we shouldn't fix it here. (The Standard consistently uses the "e" spelling.)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably to help search by title. But anyway, issues with number should be searched by number instead. (And web search engines are tolerant to minor corrections, even if search by name is used)

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 79dd533 into microsoft:master Apr 30, 2020
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks again for fixing these mistakes, and congrats on your first microsoft/STL commit! 😺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants