File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 229 | val a = js.constructorOf[ScalaClass] // error
33 | ^
44 | Type argument ScalaClass does not conform to upper bound scala.scalajs.js.Any
5+
6+ longer explanation available when compiling with `-explain`
57-- [E057] Type Mismatch Error: tests/neg-scalajs/jsconstructorof-error-in-typer.scala:10:27 ----------------------------
6810 | val b = js.constructorOf[ScalaTrait] // error
79 | ^
810 | Type argument ScalaTrait does not conform to upper bound scala.scalajs.js.Any
11+
12+ longer explanation available when compiling with `-explain`
913-- [E057] Type Mismatch Error: tests/neg-scalajs/jsconstructorof-error-in-typer.scala:11:27 ----------------------------
101411 | val c = js.constructorOf[ScalaObject.type] // error
1115 | ^
1216 | Type argument ScalaObject.type does not conform to upper bound scala.scalajs.js.Any
17+
18+ longer explanation available when compiling with `-explain`
You can’t perform that action at this time.
0 commit comments