Skip to content

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

@kms70847

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions