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

Complex datatype in set cause java.lang.StackOverflowError #857

Open
BPYap opened this Issue Jun 30, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@BPYap
Contributor

BPYap commented Jun 30, 2018

Consider the following code:

x = {1j, 2j}
for i in x:
    print(i)

When it is transpiled and executed, java.lang.StackOverflowError is thrown.

Error message:

AssertionError: '### EXCEPTION ###\njava: .lang.StackOverflowError\n\n' != '1j\n2j\n===end of test===\n'
- ### EXCEPTION ###
- java: .lang.StackOverflowError
- 
+ 1j
+ 2j
+ ===end of test===
 : Global context

BPYap added a commit to BPYap/voc that referenced this issue Jun 30, 2018

freakboy3742 added a commit that referenced this issue Jul 13, 2018

Merge pull request #858 from BPYap/add-set-related-expectedFailure-te…
…sts-complex

Added test case for issue #857
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment