close
Skip to content

Fix module-level SkipLocalsInit with top-level statements#49435

Merged
RikkiGibson merged 1 commit into
dotnet:masterfrom
PathogenDavid:fix-49434
Nov 18, 2020
Merged

Fix module-level SkipLocalsInit with top-level statements#49435
RikkiGibson merged 1 commit into
dotnet:masterfrom
PathogenDavid:fix-49434

Conversation

@PathogenDavid
Copy link
Copy Markdown
Contributor

Fixes #49434

@AlekseyTs
Copy link
Copy Markdown
Contributor

Done with review pass (iteration 1)

@PathogenDavid
Copy link
Copy Markdown
Contributor Author

Just pushed new revision rebased on master with the suggested changes.

@PathogenDavid PathogenDavid force-pushed the fix-49434 branch 2 times, most recently from cc5b8d3 to 99b1f7c Compare November 17, 2020 23:23
@PathogenDavid
Copy link
Copy Markdown
Contributor Author

PathogenDavid commented Nov 18, 2020

I believe the failing test (Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Squiggles.ErrorSquiggleProducerTests.TestNoErrorsAfterProjectRemoved) is just being flakey since it passed on my machine and on the other build configurations.

Closing and reopening to (hopefully) re-run tests.

Edit: Yup, that did the trick. Should the test be reported or is it assumed that RunfoApp will report it if it continues to be a problem?

@AlekseyTs
Copy link
Copy Markdown
Contributor

Just pushed new revision rebased on master with the suggested changes.

In the future, please, do not rewrite commits in PRs under review. Simply push new commits, this allows us to do an incremental review, which often takes less time. We can squash commits when PR is merged.

@PathogenDavid
Copy link
Copy Markdown
Contributor Author

Got it, sorry for the inconvenience.

Copy link
Copy Markdown
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM (iteration 1)

@AlekseyTs
Copy link
Copy Markdown
Contributor

@RikkiGibson Please review the latest revision.

@jaredpar jaredpar added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Nov 18, 2020
@RikkiGibson RikkiGibson merged commit 198c614 into dotnet:master Nov 18, 2020
@ghost ghost added this to the Next milestone Nov 18, 2020
@RikkiGibson
Copy link
Copy Markdown
Member

Thanks @PathogenDavid!

@PathogenDavid
Copy link
Copy Markdown
Contributor Author

No problem, thank you both for the reviews and feedback!

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

Labels

Area-Compilers Community The pull request was submitted by a contributor who is not a Microsoft employee.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Module-level SkipLocalsInit does not apply to synthesized Main for top-level statements

6 participants