Skip to content
This repository has been archived by the owner. It is now read-only.

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

Open
BPYap opened this issue Jun 30, 2018 · 1 comment
Open

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

BPYap opened this issue Jun 30, 2018 · 1 comment

Comments

@BPYap
Copy link
Contributor

@BPYap 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
…sts-complex

Added test case for issue #857
@adfrost
Copy link

@adfrost adfrost commented May 16, 2019

Not getting this issue with version 0.1.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants