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

applyDynamic does not support passing a vararg parameter #9308

Open
scabug opened this issue May 12, 2015 · 4 comments
Open

applyDynamic does not support passing a vararg parameter #9308

scabug opened this issue May 12, 2015 · 4 comments

Comments

@scabug
Copy link

@scabug scabug commented May 12, 2015

I came across this scalac bug while attempting

js.Dynamic.literal(map.toSeq: _*) // Error: applyDynamic does not support passing a vararg parameter

It turned out that any call to applyDynamic will bug out the same way

scala-js/scala-js#1656 (comment)

@scabug
Copy link
Author

@scabug scabug commented May 12, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9308?orig=1
Reporter: Yoel R GARCIA DIAZ (yoeluk)

@scabug
Copy link
Author

@scabug scabug commented Mar 17, 2017

Anton Kulaga (antonkulaga) said:
Yes, please, fix it. It is super annoying!

@DavidPerezIngeniero
Copy link

@DavidPerezIngeniero DavidPerezIngeniero commented Mar 20, 2018

Any workaround?

@SethTisue SethTisue added this to the Backlog milestone Mar 20, 2018
@SethTisue
Copy link
Member

@SethTisue SethTisue commented Mar 20, 2018

does anyone know if there is some real difficulty adding this, or whether the omission was just an oversight?

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.