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

Fix transformation of inner tail recursive methods #336

Merged
merged 5 commits into from
Feb 3, 2015

Conversation

DarkDimius
Copy link
Member

fixes #321, depends on #331.
A test i321 describes a problem - if tailrecursive method is
an inner one it shouldn't abstract over type arguments of enclosing class
at it could get them as part of the types of enclosing method.

@DarkDimius
Copy link
Member Author

@odersky or @smarter please review last 4 commits.

@odersky
Copy link
Contributor

odersky commented Jan 31, 2015

LGTM

DarkDimius added a commit to dotty-staging/dotty that referenced this pull request Feb 3, 2015
DarkDimius added a commit to dotty-staging/dotty that referenced this pull request Feb 3, 2015
DarkDimius added a commit to dotty-staging/dotty that referenced this pull request Feb 3, 2015
DarkDimius added a commit that referenced this pull request Feb 3, 2015
Fix transformation of inner tail recursive methods
@DarkDimius DarkDimius merged commit 7ee1d79 into scala:master Feb 3, 2015
@allanrenucci allanrenucci deleted the fix-321 branch December 14, 2017 19:19
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.

TailRec transformation of inner methods in parameterized classes is broken
2 participants