voc icon indicating copy to clipboard operation
voc copied to clipboard

Complex datatype in set cause java.lang.StackOverflowError

Open BPYap opened this issue 7 years ago • 1 comments

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 avatar Jun 30 '18 06:06 BPYap

Not getting this issue with version 0.1.6

adfrost avatar May 16 '19 03:05 adfrost