Don't emit unused explicit parameter
for ScalaJS facades
#17240
Labels
unused explicit parameter
for ScalaJS facades
#17240
Compiler version
3.3.1-RC1-bin-20230411-d577300-NIGHTLY
Minimized code
ScalaJS allows interoperability with Javascript by creating the facades. The definitions require to provide proper argument list, but the implementation never uses them and is always a call to
js.native
Output
Expectation
Unused warning is not thrown when
js.native
annotation is present in scope of the tree.The text was updated successfully, but these errors were encountered: