Skip to content
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

Features/local functions prototype #4940

Merged
merged 61 commits into from
Sep 16, 2015
Merged

Features/local functions prototype #4940

merged 61 commits into from
Sep 16, 2015

Conversation

gafter
Copy link
Member

@gafter gafter commented Sep 2, 2015

This is a PR for integrating @khyperia's implementation of local functions into the future branch.

@AlekseyTs @jaredpar @VSadov @agocke I need one more reviewer for this code, please.

Evan Hauck and others added 30 commits June 8, 2015 09:02
Merge future into features/local-functions
Add documentation for local functions branch
Definite assignment, generic iterators, symbol display, and parser fixes
Local functions update (generics)
Evan Hauck and others added 9 commits July 16, 2015 08:31
Conflicts:
	src/Compilers/CSharp/Portable/Errors/MessageID.cs
	src/Compilers/CSharp/Portable/Lowering/AsyncRewriter/AsyncMethodToStateMachineRewriter.cs
	src/Compilers/CSharp/Portable/Lowering/LambdaRewriter/LambdaRewriter.cs
	src/Features/CSharp/EditAndContinue/StatementSyntaxComparer.cs
Local functions update: By-ref struct closures
Conflicts:
	src/Compilers/CSharp/Portable/CSharpResources.resx
	src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs
	src/Compilers/CSharp/Portable/Errors/MessageID.cs
	src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedEntryPointSymbol.cs
Local functions update: Bugfixes and documentation
@gafter
Copy link
Member Author

gafter commented Sep 2, 2015

I'll bring this up-to-date with the future branch shortly and squash the history.

@gafter
Copy link
Member Author

gafter commented Sep 2, 2015

/cc @jaredpar @AlekseyTs @VSadov @agocke @khyperia @gafter

Although there are some issues that we had wanted to revisit based on the design review (definite assignment, for example) I believe this is close enough to what we want that we should integrate it into the future branch.

@gafter gafter modified the milestones: 2.0, C# 7 and VB 15 Sep 2, 2015
@gafter gafter self-assigned this Sep 2, 2015
…es/local-functions

Conflicts:
	src/Compilers/CSharp/Portable/CSharpResources.resx
	src/Compilers/CSharp/Portable/Errors/ErrorCode.cs
	src/Compilers/CSharp/Portable/FlowAnalysis/FlowAnalysisPass.cs
	src/Compilers/CSharp/Portable/Lowering/LambdaRewriter/LambdaCapturedVariable.cs
	src/Compilers/CSharp/Portable/Lowering/LambdaRewriter/LambdaRewriter.cs
	src/Compilers/CSharp/Portable/PublicAPI.txt
	src/Compilers/CSharp/Portable/Symbols/TypeMap.cs
	src/Compilers/Core/Portable/PublicAPI.txt
	src/Features/CSharp/CSharpFeaturesResources.Designer.cs
	src/Features/CSharp/CSharpFeaturesResources.resx
	src/Features/CSharp/EditAndContinue/CSharpEditAndContinueAnalyzer.cs
@gafter
Copy link
Member Author

gafter commented Sep 11, 2015

@AlekseyTs @jaredpar @VSadov @agocke I need one more reviewer for this code, please. Once this is pulled into the future branch, there will be a small number of issues opened against the feature for design changes (return type var inference will probably be removed; also definite assignment changes. These are discussed in the included documentation).

@tmat
Copy link
Member

tmat commented Sep 11, 2015

@gafter Please, also file an issue to implement and test Edit and Continue and EE support as well as testing in interactive context. I suspect EnC and EE work items to be a non-trivial.

@gafter
Copy link
Member Author

gafter commented Sep 11, 2015

@tmat done, in #5156 and #5157.

@gafter
Copy link
Member Author

gafter commented Sep 11, 2015

@dotnet-bot test this please

@agocke
Copy link
Member

agocke commented Sep 11, 2015

Can we file a bug to remove or fix var? I don't want that to get dropped on the floor. Otherwise, 👍

@gafter
Copy link
Member Author

gafter commented Sep 11, 2015

@agocke Filed #5168 for that.

gafter added a commit that referenced this pull request Sep 16, 2015
@gafter gafter merged commit 6e2f6c6 into future Sep 16, 2015
@gafter gafter modified the milestone: C# 7 and VB 15 Nov 26, 2015
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.

5 participants