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
Error: Unexpected error when compiling project_2c44eec9c4_2c44eec9c4-45290ff20c: 'Cannot hash a transient IR node (its value is of class class dotty.tools.backend.sjs.JSCodeGen$UndefinedParam$)'
Expectation
The same code compiles in Scala 2. Woops, I guess not. But the Scala 2 error says:
[error] ./bug.scala:15:1: Found a dangling UndefinedParam at Position(file:/workspace/sandbox/bug.scala,18,17). This is likely due to a bad interaction between a macro or a compiler plugin and the Scala.js compiler plugin. If you hit this, please let us know.
sjrd
changed the title
package-protected method in Scala.js facade doesn't compile
Unit JS default param makes compiler crash with "Cannot hash a transient IR node"
Jul 20, 2022
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
3.2.0-RC1-bin-20220609-2836fbc-NIGHTLY
Minimized code
Output
Expectation
The same code compiles in Scala 2.Woops, I guess not. But the Scala 2 error says:The text was updated successfully, but these errors were encountered: