link.Wasm: correctly fetch source location when decl is a type

The comment explains the situation here. This is a bit of a hack, and
should be reworked when `Decl` is properly split up.
edf14777bamlugg committed on 6/18/2024, 3:30:06 AMparentf37d072
1 file changedLine totals unavailable