-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot use Dynamic with native Scala.js class / trait #19528
Comments
OndrejSpanel
added
itype:bug
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
Jan 24, 2024
sjrd
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 26, 2024
… classes. One boolean value was the wrong way around for native JS classes and traits. That caused `scala.Dynamic` not to be removed from the super-interfaces of native JS classes at the IR level, causing the linking error.
Gedochao
added
area:scala.js
and removed
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
Jan 30, 2024
nicolasstucki
added a commit
that referenced
this issue
Jan 30, 2024
…ses. (#19536) One boolean value was the wrong way around for native JS classes and traits. That caused `scala.Dynamic` not to be removed from the super-interfaces of native JS classes at the IR level, causing the linking error.
I confirm this as fixed for my project with 3.4.1-RC1-bin-20240130-7a5cb6e-NIGHTLY |
OndrejSpanel
pushed a commit
to OndrejSpanel/scala3
that referenced
this issue
Mar 19, 2024
… classes. One boolean value was the wrong way around for native JS classes and traits. That caused `scala.Dynamic` not to be removed from the super-interfaces of native JS classes at the IR level, causing the linking error. (cherry picked from commit 59ebb85)
WojciechMazur
pushed a commit
that referenced
this issue
Jun 28, 2024
…ses. One boolean value was the wrong way around for native JS classes and traits. That caused `scala.Dynamic` not to be removed from the super-interfaces of native JS classes at the IR level, causing the linking error. [Cherry-picked 59ebb85]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.3.1
Minimized code
This is Scala.js - complete project available at https://github.com/OndrejSpanel/ScalaJsDynamic
Output
When using
run
in sbt, I get:Expectation
The code should run. The same code works fine with Scala 2.13.12
Note
When posted as https://stackoverflow.com/q/77874549/16673, @sjrd advised to report it as a bug.
The text was updated successfully, but these errors were encountered: