Skip to content

Strange error message when using list comp on un-iterable object. #3

Description

@kms70847
>>> [i for i in 1];
'items'

This should instead produce the same error message as when you do for(i in 1){i;};. E.g. Can't iterate over type Integer with nosizefunction

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions