You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. I can reproduce. Somehow that outer pointer, which is needed, disappears. It does not disappear if I "desugar" by hand the call to js.dynamicImport, so there must be something wrong in the phase that performs that desugaring.
…ts explicit.
Implicit references to the `this` of an outer class are made
explicit by the typer, and they need to be for `explicitOuter` to
do its job correctly.
When we desugar a `js.dynamicImport`, we move the code inside a
synthetic inner class. If it contains implicit references to an
enclosing class, we must make them explicit at that point.
…plicit. (#17357)
Implicit references to the `this` of an outer class are made explicit by
the typer, and they need to be for `explicitOuter` to do its job
correctly.
When we desugar a `js.dynamicImport`, we move the code inside a
synthetic inner class. If it contains implicit references to an
enclosing class, we must make them explicit at that point.
Compiler version
3.3.1-RC1-bin-20230424-824295e-NIGHTLY
Minimized code
Output
Expectation
It links correctly when switching to Scala
2.13.10
, so it should also using Scala 3The text was updated successfully, but these errors were encountered: