-
Notifications
You must be signed in to change notification settings - Fork 749
Enumerable First/Last using Python list. #113
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
Comments
values = [1, 2, 3] is PyList and hence only implements IEnumerable basic interface (not generic): https://msdn.microsoft.com/en-us/library/system.collections.ienumerable(v=vs.110).aspx |
@denfromufa it shouldn't crash the runtime though, it should raise a Python exception if there's a problem. |
@tonyroberts Quite. |
full traceback from debug build (after
autos:
|
using pull request #126 the following proper exception is raised:
|
thanks, that PR has been merged. cheers, |
@tonyroberts @galpin I added more similar checks in #129 |
The following test currently crashes the runtime (stack trace included below).
Do you expect this to work correctly?
Thanks,
The text was updated successfully, but these errors were encountered: