KevinScript icon indicating copy to clipboard operation
KevinScript copied to clipboard

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

Open kms70847 opened this issue 9 years ago • 0 comments

>>> [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

kms70847 avatar Apr 28 '15 14:04 kms70847