# link.Wasm: correctly fetch source location when decl is a type · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/edf14777bae56c3a6a155c59f793dc432656c1de)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: edf14777bae56c3a6a155c59f793dc432656c1de

Requested commit: edf14777bae56c3a6a155c59f793dc432656c1de

Commit: edf14777bae56c3a6a155c59f793dc432656c1de

Tree: c58ec953c2f038b9bf6c759ee9231162350c4e1f

Author: mlugg

Committer: mlugg

## Message

```
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.

```

## Parents

- [f37d0725fa4c6a0b5e4e9ca4d25e2760dc06764d](https://git.cafe/gitcafe/zig/commit/f37d0725fa4c6a0b5e4e9ca4d25e2760dc06764d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/edf14777bae56c3a6a155c59f793dc432656c1de?format=markdown)
