Skip to content

Conversation

@AlekseyTs
Copy link
Contributor

@AlekseyTs AlekseyTs commented May 28, 2020

Merge 'features/SimplePrograms' into master

AlekseyTs and others added 30 commits February 24, 2020 10:00
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.
Merge 'master' into SimplePrograms
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.
Merge master into SimplePrograms
Merge master into SimplePrograms
sharwell and others added 20 commits May 20, 2020 08:48
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.
@AlekseyTs AlekseyTs changed the title Merge 'features/SimplePrograms' into master Merge 'Top-level statements' feature into master May 28, 2020
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approval

@ghost ghost merged commit 1b2c0b3 into dotnet:master May 28, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants