Skip to content
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

Arity Error when calling forEach on Javascript Array #120

Open
LeonBein opened this issue Jun 18, 2020 · 0 comments
Open

Arity Error when calling forEach on Javascript Array #120

LeonBein opened this issue Jun 18, 2020 · 0 comments
Labels

Comments

@LeonBein
Copy link

(Polyglot eval: 'js' string: '[2, 4, 5, 7, 2, 56, 1]') forEach: [:each | Transcript showln: each].
Throws the following exception:
Error: com.oracle.truffle.js.runtime.JSException: TypeError: execute on foreign object failed due to: Arity error - expected: 1 actual: 3

It is unknown whether this is expected behavior or a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants