-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Merge 'Top-level statements' feature into master #44612
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a punch through to support simple single file scenarios. Related to dotnet#41704.
Merge 'dotnet/master' into SimplePrograms
…otnet#42008) Report diagnostics when top level statements are used out of order. Related to dotnet#41704.
Adjustments to the parser behavior for a Simple Program - Follow up on parser changes that came from master - Presence of attributes shouldn’t disable parsing of a top-level statement. Instead, the attributes should be attached to the top-level statement with an error reported, or without an error if the statement is a local function declaration. - Allow a declaration of a `ref` local at the top level.
…rent units in simple program. (dotnet#42159) Related to dotnet#41704.
…e Program (dotnet#42227) Related to dotnet#41704.
Merge 'master' into SimplePrograms
…ram. (dotnet#42648) Related to dotnet#41704. Reflects design changes outlined in dotnet/csharplang#3292.
…ents in a Simple Program. (dotnet#42751) Related to dotnet#41704.
…arily disable two IDE tests.
Merge master into SimplePrograms
Related to dotnet#41704. - Add tests for missing types that the feature depends upon. - Adjust binding to produce a ```BoundNonConstructorMethodBody``` as the root of the bound body to be consistent with other flavors of ```BindMethodBody```. - Report an error when a "MainType" is speciafied for a Simple Program. - Improve parsing error recovery around local functions.
… a Simple Program. (dotnet#43276) Related to dotnet#41704.
Merge master into SimplePrograms
Merge master into SimplePrograms
Related to dotnet#41704. Add tests, remove PROTOTYPE comments
Implement Inline Temporary support for top-level statements
Add test for renaming a local variable in a top-level statement
Fix 'Use Throw Expression' in top-level statements
Update Add Parameter to support global statements
Completion fixes for top-level statements
Merge 'dotnet/master' into SimplePrograms
….CtrlAltSpaceOption unit-test with Top-level statements in mind.
ghost
approved these changes
May 28, 2020
ghost
left a comment
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.
Auto-approval
This pull request was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merge 'features/SimplePrograms' into master