js-block-redeclaration.js:7:9 - error SC0001: Class declaration cannot implement overload list for 'collide'.

  6 | {
  7 |   class collide {}
    |         ^~~~~~~
  8 |   async function collide() {}

js-block-redeclaration.js:8:3 - error SC0005: the declaration 'collide' is already declared in this block's statement list

  7 |   class collide {}
  8 |   async function collide() {}
    |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  9 | }

js-block-redeclaration.js:8:18 - error SC0001: Function with bodies can only merge with classes that are ambient.

  7 |   class collide {}
  8 |   async function collide() {}
    |                  ^~~~~~~
  9 | }

js-block-redeclaration.js:13:9 - error SC0006: the lexical declaration 'scoped' collides with a 'var' declaration of the same name in this block

  12 |   case 1:
  13 |     let scoped = 1;
     |         ^~~~~~
  14 |     break;

js-block-redeclaration.js:15:8 - error SC0001: Type '2' is not comparable to type '1'.

  14 |     break;
  15 |   case 2:
     |        ^
  16 |     var scoped = 2;

js-block-redeclaration.js:16:9 - error SC0001: Cannot initialize outer scoped variable 'scoped' in the same scope as block scoped declaration 'scoped'.

  15 |   case 2:
  16 |     var scoped = 2;
     |         ^~~~~~
  17 |     break;