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 1313-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:17:27 -----------------------------------------
141417 | val d = js.constructorOf[NativeJSClass { def bar: Int }] // error
1515 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16- | NativeJSClass{bar: => Int} is not a class type
16+ | NativeJSClass{bar: Int} is not a class type
1717-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:19:27 -----------------------------------------
181819 | val e = js.constructorOf[JSTrait] // error
1919 | ^^^^^^^
2929-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:23:27 -----------------------------------------
303023 | val h = js.constructorOf[JSClass { def bar: Int }] // error
3131 | ^^^^^^^^^^^^^^^^^^^^^^^^
32- | JSClass{bar: => Int} is not a class type
32+ | JSClass{bar: Int} is not a class type
3333-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:25:42 -----------------------------------------
343425 | def foo[A <: js.Any] = js.constructorOf[A] // error
3535 | ^
Original file line number Diff line number Diff line change 1313-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:17:59 ----------------------------------------
141417 | val d = js.constructorTag[NativeJSClass { def bar: Int }] // error
1515 | ^
16- | NativeJSClass{bar: => Int} is not a class type
16+ | NativeJSClass{bar: Int} is not a class type
1717-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:19:36 ----------------------------------------
181819 | val e = js.constructorTag[JSTrait] // error
1919 | ^
2929-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:23:53 ----------------------------------------
303023 | val h = js.constructorTag[JSClass { def bar: Int }] // error
3131 | ^
32- | JSClass{bar: => Int} is not a class type
32+ | JSClass{bar: Int} is not a class type
3333-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:25:45 ----------------------------------------
343425 | def foo[A <: js.Any] = js.constructorTag[A] // error
3535 | ^
You can’t perform that action at this time.
0 commit comments