 --> [ local path prefix ]/template/self_reference.fpp:1:8
  |
1 | module template T(constant c: U32) {
  |        ^^^^^^^^ syntax error: unexpected token
  |
  = note: expected {
  = note: got identifier

 --> [ local path prefix ]/template/self_reference.fpp:3:19
  |
3 |     constant k2 = k1 + c
  |                   ^^ cannot find constant `k1` in scope

 --> [ local path prefix ]/template/self_reference.fpp:3:24
  |
3 |     constant k2 = k1 + c
  |                        ^ cannot find constant `c` in scope

 --> [ local path prefix ]/template/self_reference.fpp:4:24
  |
4 |     constant k3 = k2 + c
  |                        ^ cannot find constant `c` in scope

