# Sema: emit @intCast safety check correctly for vectors · gitcafe/zig

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

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

Visibility: public

Requested revision: d78eda34c5de1ce869c55057b790081012e00bf5

Requested commit: d78eda34c5de1ce869c55057b790081012e00bf5

Commit: d78eda34c5de1ce869c55057b790081012e00bf5

Tree: 67a02c8190529110b4c516ec528ec2632f43ddf9

Author: mlugg

Committer: Matthew Lugg

## Message

```
Sema: emit @intCast safety check correctly for vectors

This code was previously tripping an assertion by not making this value
used in the safety check a vector.

```

## Parents

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

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