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 2
2
9 | val a = js.constructorOf[ScalaClass] // error
3
3
| ^
4
4
| Type argument ScalaClass does not conform to upper bound scala.scalajs.js.Any
5
+
6
+ longer explanation available when compiling with `-explain`
5
7
-- [E057] Type Mismatch Error: tests/neg-scalajs/jsconstructorof-error-in-typer.scala:10:27 ----------------------------
6
8
10 | val b = js.constructorOf[ScalaTrait] // error
7
9
| ^
8
10
| Type argument ScalaTrait does not conform to upper bound scala.scalajs.js.Any
11
+
12
+ longer explanation available when compiling with `-explain`
9
13
-- [E057] Type Mismatch Error: tests/neg-scalajs/jsconstructorof-error-in-typer.scala:11:27 ----------------------------
10
14
11 | val c = js.constructorOf[ScalaObject.type] // error
11
15
| ^
12
16
| 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