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

Chained sequence and for #5520

Open
habere-et-dispertire opened this issue Jan 29, 2024 · 0 comments
Open

Chained sequence and for #5520

habere-et-dispertire opened this issue Jan 29, 2024 · 0 comments
Labels
Fixed in RakuAST This issue has been fixed in RakuAST tests committed

Comments

@habere-et-dispertire
Copy link

The Problem

A chained sequence stops unexpectedly :

.say for 1...5...3
# 1
# 2
# 3
# 4
# 5

The same happens with print and put but not gather :

say gather .take for 1...5...3
# (1 2 3 4 5 4 3)

Expected Behavior

The same as with the non-method form of say :

say 1...5...3
# 1
# 2
# 3
# 4
# 5
# 4
# 3

Environment

  • Operating system: macOS 10.13.6
  • Compiler version: 2023.10
@lizmat lizmat added tests needed Issue is generally resolved but tests were not written yet Fixed in RakuAST This issue has been fixed in RakuAST labels Jan 30, 2024
@ab5tract ab5tract added tests committed and removed tests needed Issue is generally resolved but tests were not written yet labels May 21, 2024
ab5tract added a commit that referenced this issue May 21, 2024
In order to prevent regressions, we will be accumulating
test cases for issues that remain open but which have been
confirmed working with RakuAST.

First up: R#5520 (#5520) and R#5546 (#5546).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in RakuAST This issue has been fixed in RakuAST tests committed
Projects
None yet
Development

No branches or pull requests

3 participants