Skip to content

Remove unnecessary check in typedReturn #3188

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 1 commit into from
Sep 27, 2017

Conversation

allanrenucci
Copy link
Contributor

return outside a type definition would result in a parsing error.
Therefore the context cannot be NoContext.

`return` outside a type definition would result in a parsing error.
Therefore the context cannot be `NoContext`.
@smarter smarter merged commit ca4b235 into scala:master Sep 27, 2017
@allanrenucci allanrenucci deleted the typed-return branch October 16, 2017 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants