File: unicode.swc-stderr

package info (click to toggle)
rust-swc-core 35.0.0~ds-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 62,816 kB
  • sloc: javascript: 873; xml: 538; sh: 358; makefile: 35; python: 5
file content (9 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
UnsupportedSyntax

  x The angle-bracket syntax for type assertions, `<T>expr`, is not supported in type strip mode. Instead, use the 'as' syntax: `expr as T`.
   ,-[4:1]
 3 | function foo() {
 4 |     <任意>(void 1); throw new Error('foo');
   :     ^^^^^^^^^^^^^^
 5 | }
   `----