Skip to content

Commit 39c84d9

Browse files
committed
More check file updates
1 parent dad48ad commit 39c84d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/neg-scalajs/jsconstructorof-error-in-typer.check

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
9 | 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 ----------------------------
68
10 | 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 ----------------------------
1014
11 | 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`

0 commit comments

Comments
 (0)