File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 13
13
-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:17:27 -----------------------------------------
14
14
17 | val d = js.constructorOf[NativeJSClass { def bar: Int }] // error
15
15
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16
- | NativeJSClass{bar: => Int} is not a class type
16
+ | NativeJSClass{bar: Int} is not a class type
17
17
-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:19:27 -----------------------------------------
18
18
19 | val e = js.constructorOf[JSTrait] // error
19
19
| ^^^^^^^
29
29
-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:23:27 -----------------------------------------
30
30
23 | val h = js.constructorOf[JSClass { def bar: Int }] // error
31
31
| ^^^^^^^^^^^^^^^^^^^^^^^^
32
- | JSClass{bar: => Int} is not a class type
32
+ | JSClass{bar: Int} is not a class type
33
33
-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:25:42 -----------------------------------------
34
34
25 | def foo[A <: js.Any] = js.constructorOf[A] // error
35
35
| ^
Original file line number Diff line number Diff line change 13
13
-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:17:59 ----------------------------------------
14
14
17 | val d = js.constructorTag[NativeJSClass { def bar: Int }] // error
15
15
| ^
16
- | NativeJSClass{bar: => Int} is not a class type
16
+ | NativeJSClass{bar: Int} is not a class type
17
17
-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:19:36 ----------------------------------------
18
18
19 | val e = js.constructorTag[JSTrait] // error
19
19
| ^
29
29
-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:23:53 ----------------------------------------
30
30
23 | val h = js.constructorTag[JSClass { def bar: Int }] // error
31
31
| ^
32
- | JSClass{bar: => Int} is not a class type
32
+ | JSClass{bar: Int} is not a class type
33
33
-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:25:45 ----------------------------------------
34
34
25 | def foo[A <: js.Any] = js.constructorTag[A] // error
35
35
| ^
You can’t perform that action at this time.
0 commit comments