# Sema: fix access of inactive union field · gitcafe/zig

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

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

Visibility: public

Requested revision: 6754d1a1826615886b933a7de207d1d97720ae53

Requested commit: 6754d1a1826615886b933a7de207d1d97720ae53

Commit: 6754d1a1826615886b933a7de207d1d97720ae53

Tree: 89048702967e76308bcf6799c931edf5b45bbf54

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: fix access of inactive union field

When instantiating a generic function call, in the case of a function
call generated by the language, the LazySrcLoc provided for `call_src`
may not point to anything interesting.

```

## Parents

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

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