  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:33:8
   |
33 | module template T(interface i: A_I1, constant idx: U32) {
   |        ^^^^^^^^ syntax error: unexpected token
   |
   = note: expected {
   = note: got identifier

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:35:18
   |
35 |     constant b = a + 1
   |                  ^ cannot find constant `a` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:39:18
   |
39 |         instance i
   |                  ^ cannot find component instance or topology `i` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:45:13
   |
45 |             i.bOut[idx] -> b.bIn[idx]
   |             ^ cannot find component instance or topology `i` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:45:20
   |
45 |             i.bOut[idx] -> b.bIn[idx]
   |                    ^^^ cannot find constant `idx` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:45:34
   |
45 |             i.bOut[idx] -> b.bIn[idx]
   |                                  ^^^ cannot find constant `idx` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:48:20
   |
48 |             b.aOut[idx] -> i.aIn2[idx]
   |                    ^^^ cannot find constant `idx` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:48:28
   |
48 |             b.aOut[idx] -> i.aIn2[idx]
   |                            ^ cannot find component instance or topology `i` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:48:35
   |
48 |             b.aOut[idx] -> i.aIn2[idx]
   |                                   ^^^ cannot find constant `idx` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:51:20
   |
51 |             b.aOut[idx + 1] -> i.aIn3[idx]
   |                    ^^^ cannot find constant `idx` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:51:32
   |
51 |             b.aOut[idx + 1] -> i.aIn3[idx]
   |                                ^ cannot find component instance or topology `i` in scope

  --> [ local path prefix ]/template/interfaces_invalid_port_instance_name.fpp:51:39
   |
51 |             b.aOut[idx + 1] -> i.aIn3[idx]
   |                                       ^^^ cannot find constant `idx` in scope

