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 is-lazy propagation bug in List::Reifier #2493
Conversation
Triangle reduce was not recognizing Lists containing lazy Slips as lazy. This can be tracked back to the is-lazy method on List::Reifier (and was ultimately being propagated up to the triangle reduce routine). is-lazy in List::Reifier was not considering the possibility of lazy Slips. Fix this by having the method check any $!future elements it may have for laziness. See [Github Issue rakudo#2122](rakudo#2122)
|
Pushed up one more commit. The previous one was a bit too overzealous in declaring the resulting
|
To fix at least laziness check on [\+] Jeremy Studer++ for PR
|
Thank you for your work. Since there was no reply to my comment and we're 3 months later now, I decided to take the idea and re-imagine it with 8f424c9. |
To fix at least laziness check on [\+] Jeremy Studer++ for PR
To fix at least laziness check on [\+] Jeremy Studer++ for PR
This reverts commit 8f424c9. Not seeing a way to fix this atm, so reverting and re-opening the pull request on which this was based (as well as the issue that caused this).
|
Reverted my version of the PR as it caused a regression: #2920 . |
This reverts commit 8f424c9. Not seeing a way to fix this atm, so reverting and re-opening the pull request on which this was based (as well as the issue that caused this).
|
Can you please fix the conflict and continue here? |
|
Closing this PR as my re-imagining didn't work out, and this PR didn't get its conflicts solved. |
Triangle reduce was not recognizing Lists containing lazy Slips as lazy.
This can be tracked back to the is-lazy method on List::Reifier (and was
ultimately being propagated up to the triangle reduce routine). is-lazy
in List::Reifier was not considering the possibility of lazy Slips. Fix
this by having the method check any $!future elements it may have for
laziness.
See Github Issue #2122