-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
User-defined operator checks should ignore differences in tuple member names #30774
User-defined operator checks should ignore differences in tuple member names #30774
Conversation
RikkiGibson
commented
Oct 26, 2018
•
edited
Loading
edited
- Resolves It feels like Microsoft.CodeAnalysis.CSharp.Symbols.SourceUserDefinedOperatorSymbolBase.CheckIncrementDecrementSignature should ignore tuple names when type symbols are compared #30668
- Resolves It feels like Microsoft.CodeAnalysis.CSharp.Symbols.SourceUserDefinedOperatorSymbolBase.CheckUserDefinedConversionSignature Should ignore tuple names when type symbols are compared #30659
…increment/decrement operators
Any reason to prefer one or the other of these:
|
The latter directly expresses the intent of the code and therefore should be preferred. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests pass locally but fail in CI:
Seems like the environment the compiler is run in affects the exact warning message. Should I change the verification here to skip checking the |
CI failures related to the build agent getting into a bad state (compiler server is persisting and preventing clearing out/cloning sources at the start of build) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be the case when error messages mention DLL names. Types can be located in differetn assemblies in desktop and CoreClr. Which test is failing here? None of the new tests seem to have this message and CI is broken so I couldn't see the failed run you were looking at. |
It was |
…out-if-error-message * origin/master: (1712 commits) User-defined operator checks should ignore differences in tuple member names (dotnet#30774) Attempted fix for correctly reporting error CS1069 when using implicit namespaces (dotnet#30244) Invert the binding order of InitializerExpressions and CreationExpressions (dotnet#30805) Use Arcade bootstrapping scripts (dotnet#30498) Ensure that the compilers produce double.NaN values in IEEE canonical form. (dotnet#30587) Remove properties set in BeforeCommonTargets.targets Fix publishing of dependent projects Contributing page: reference Unix build instructions Delete 0 Propagate values from AbstractProject to VisualStudioProjectCreationInfo Fix publishing nuget info of dev16.0.x-vs-deps branch Revert "Add a SetProperty API for CPS to passing msbuild properties" Validate generic arguments in `using static` directives (dotnet#30737) Correct 15.9 publish data Enable test. Do not inject attribute types into .Net modules. Add a SetProperty API for CPS to passing msbuild properties Revert "add beta2 suffix to dev16 branch" Fix references Remove commit sha from package versions ...