Skip to content

Lambda invariant check #6767

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 4 commits into from
Jul 1, 2019
Merged

Conversation

liufengyun
Copy link
Contributor

Check that function literals are always encoded as follows before LambdaLift:

{
    def anon(...) = ...
    closure(anon)
}

This invariant will enable us to provide an extractor for function literals (#6720).

Check that function literals are always encoded as follows before LambdaLift:

```
{
    def anon(...) = ...
    closure(anon)
}
```
Ycheck complains selection of `show` on `Block | Null`.
The issue is reported in scala#6655
@smarter smarter merged commit e0e1c80 into scala:master Jul 1, 2019
@allanrenucci allanrenucci deleted the lambda-invariant-check branch July 1, 2019 19:02
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