please
please copied to clipboard
enumerate() doesn't work on frozen lists
If you try and use built ins like enumerate on lists that get froze (e.g. because they come in scope from a subinclude), then you get a confusing error message like:
error: Argument to enumerate must be a list, not list
A workaround is to do enumerate([] + list)
This issue has been automatically marked as stale because it has not had any recent activity in the past 90 days. It will be closed if no further activity occurs. If you require additional support, please reply to this message. Thank you for your contributions.