# wasm: support calling alias'd function pointers · gitcafe/zig

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

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

Visibility: public

Requested revision: e3db210cf1007f87930c97c072c54b2fb8ae0b8c

Requested commit: e3db210cf1007f87930c97c072c54b2fb8ae0b8c

Commit: e3db210cf1007f87930c97c072c54b2fb8ae0b8c

Tree: c11e1e47dbf59e745aef594a9e446f100b839efe

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: support calling alias'd function pointers

When lowering a decl value we verify whether its owner decl index
equals to the decl index of the decl being lowered. When this is not
the case, we are lowering an alias. So instead, we will now lower
the owner decl instead and call its symbol to ensure its type
is being correctly generated.

```

## Parents

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

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