-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Partial Function: Prevent double evaluation of pattern matchers and guards #4177
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
Comments
Needed to make |
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 4, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 5, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 5, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 11, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 11, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 12, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 12, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 17, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 17, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 20, 2018
…tial function literals
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 25, 2018
…tial function literals
odersky
added a commit
that referenced
this issue
Apr 27, 2018
Fix #4177: Generate optimised applyOrElse implementation for partial function literals
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation of
PartialFunction::applyOrElse
says:However this is not currently the case in Dotty:
The text was updated successfully, but these errors were encountered: