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

All but first returns empty list but not empty YailList #2822

Closed
2 of 7 tasks
ewpatton opened this issue Feb 10, 2023 · 1 comment
Closed
2 of 7 tasks

All but first returns empty list but not empty YailList #2822

ewpatton opened this issue Feb 10, 2023 · 1 comment

Comments

@ewpatton
Copy link
Member

Describe the bug

When the all but first block is used on a list of length 1 returns an empty Scheme list. This causes checks like is a list? to return false because they expect items conforming to YailList.

Affects

  • Designer
  • Blocks editor
  • Companion
  • Compiled apps
  • Buildserver
  • Debugging
  • Other... (please describe)

Expected behavior

all but first should return an empty YailList rather than an empty list when its input is a length of 1 list.

Steps to reproduce

See this post on the nb191 testing announcement: https://community.appinventor.mit.edu/t/help-test-nb191/76301/24?u=ewpatton

@ewpatton
Copy link
Member Author

Fixed by #2823

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant