Skip to content

Delay accessibility checks to avoid cycles#45441

Merged
RikkiGibson merged 2 commits intodotnet:masterfrom
RikkiGibson:fix-44438
Jun 29, 2020
Merged

Delay accessibility checks to avoid cycles#45441
RikkiGibson merged 2 commits intodotnet:masterfrom
RikkiGibson:fix-44438

Conversation

@RikkiGibson
Copy link
Member

Closes #44438

@RikkiGibson
Copy link
Member Author

#45424 may also solve this, let's wait for it to merge first before moving forward with this PR.

@RikkiGibson RikkiGibson marked this pull request as ready for review June 25, 2020 17:28
@RikkiGibson RikkiGibson requested a review from a team as a code owner June 25, 2020 17:28
@RikkiGibson RikkiGibson added Test Test failures in roslyn-CI and removed Blocked labels Jun 25, 2020
@RikkiGibson
Copy link
Member Author

@dotnet/roslyn-compiler Could I please get a review on a test-only change?


class B : A
{
public override void M1<T>(System.Nullable<T?> x)
Copy link
Member

Choose a reason for hiding this comment

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

The syntax error was a necessary part of the original bug. This test doesn't have the same syntax error but is still labeled as being for that bug. Is this just another sub-case that was fixed?

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 bug reproduces whether or not the closing angle bracket is missing.

Copy link
Member Author

Choose a reason for hiding this comment

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

Basically these were added to try and understand which conditions trigger the bug or not-- and for instance the Hide test below never triggered the bug. Since they don't serve a distinct purpose in ensuring we don't regress this bug I could just delete all but one of the tests.

@RikkiGibson RikkiGibson merged commit d637730 into dotnet:master Jun 29, 2020
@ghost ghost added this to the Next milestone Jun 29, 2020
@RikkiGibson RikkiGibson deleted the fix-44438 branch June 29, 2020 19:55
333fred added a commit that referenced this pull request Jun 30, 2020
…e_168

* upstream/master: (102 commits)
  Change contrast ratio to get close to 1.5:1 (#45526)
  Revert "Move SymbolSearch down to EditorFeatures (#45505)"
  Delay accessibility checks to avoid cycles (#45441)
  Prevent trying to convert metadata references into circular project references
  Remove unnecessary Clone() (#45469)
  Align addition of a synthesized override of object.Equals(object? obj) in records with the latest design. (#45475)
  Move SymbolSearch down to EditorFeatures (#45505)
  VisitType in MethodToClassRewriter for function pointers.
  Fix up nondeterminism in serializing naming style preferences
  Update dependencies from https://github.com/dotnet/arcade build 20200626.2 (#45482)
  Fix typo
  Move to vnext
  Add constant inerpolated strings to the test plan, update status for records.
  Don't emit ldftn when the result is unused.
  PR Feedback: * Additional tests for nested function contexts. * Override VisitFunctionPointerLoad in MethodToClassRewriter. * Adjust debug asserts.
  Add records to compiler test plan (#45434)
  Expand comment in CreateRecoverableText
  Replace binary serialization of encoding with a custom serializer. (#45374)
  LangVersion 9 (#44911)
  Avoid loading document text in AbstractObjectBrowserLibraryManager.DocumentChangedAsync
  ...
@dibarbet dibarbet modified the milestones: Next, 16.7.P4 Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Test Test failures in roslyn-CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Visual studio crashes with invalid code with NRT syntax

4 participants