# Sema: fix type checking of \`@intToFloat\` operands · gitcafe/zig

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

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

Visibility: public

Requested revision: 895aea0b630df97edbbcf68bfad251968c9b9fbf

Requested commit: 895aea0b630df97edbbcf68bfad251968c9b9fbf

Commit: 895aea0b630df97edbbcf68bfad251968c9b9fbf

Tree: 8ff1152e5f318976d9835c15cc40c0ef66131243

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: fix type checking of `@intToFloat` operands

There was a typo and they were backwards.

```

## Parents

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

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