-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Optimize handling of catch
blocks
#856
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
Labels
Comments
nicolasstucki
added a commit
to nicolasstucki/dotty
that referenced
this issue
Jun 10, 2016
Previously they were all lifted into a match with the came cases. Now the first cases are handled directly by by the catch. If one of the cases can not be handled the old scheme is applied to to it and all subsequent cases.
nicolasstucki
added a commit
to nicolasstucki/dotty
that referenced
this issue
Jun 10, 2016
Previously they were all lifted into a match with the came cases. Now the first cases are handled directly by by the catch. If one of the cases can not be handled the old scheme is applied to to it and all subsequent cases.
nicolasstucki
added a commit
to nicolasstucki/dotty
that referenced
this issue
Jun 10, 2016
Previously they were all lifted into a match with the came cases. Now the first cases are handled directly by by the catch. If one of the cases can not be handled the old scheme is applied to to it and all subsequent cases.
nicolasstucki
added a commit
to nicolasstucki/dotty
that referenced
this issue
Jun 22, 2016
Previously they were all lifted into a match with the came cases. Now the first cases are handled directly by by the catch. If one of the cases can not be handled the old scheme is applied to to it and all subsequent cases.
nicolasstucki
added a commit
to nicolasstucki/dotty
that referenced
this issue
Jun 24, 2016
Previously they were all lifted into a match with the came cases. Now the first cases are handled directly by by the catch. If one of the cases can not be handled the old scheme is applied to to it and all subsequent cases.
nicolasstucki
added a commit
to nicolasstucki/dotty
that referenced
this issue
Jun 24, 2016
Previously they were all lifted into a match with the came cases. Now the first cases are handled directly by by the catch. If one of the cases can not be handled the old scheme is applied to to it and all subsequent cases.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jun 28, 2016
Previously they were all lifted into a match with the came cases. Now the first cases are handled directly by by the catch. If one of the cases can not be handled the old scheme is applied to to it and all subsequent cases.
DarkDimius
added a commit
that referenced
this issue
Jun 30, 2016
Fix #856: Handle try/catch cases as catch cases if possible.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current code emitted by pattern-matcher is inefficient.
What it currently does is:
is compiled as if it this was written:
The text was updated successfully, but these errors were encountered: