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] --Error:/scala-js-chrome/bindings/src/main/scala/chrome/webNavigation/bindings/OnTabReplacedDetails.scala:11:27
[error] 11|valreplacedTabId:Int= native
[error] | ^^^^^^
[error] |Concrete members of JS native types may only call js.native.
[error] one error found
Expectation
The code should behave just like calling js.native.
The text was updated successfully, but these errors were encountered:
There is a weird behavior when calling
native
when importingscala.scalajs.js.native
.See this example to reproduce the problem.
Compiler version
3.1.0 (Scala.js)
Minimized code
Output
Expectation
The code should behave just like calling
js.native
.The text was updated successfully, but these errors were encountered: