# add missing compile error for fn call bad implicit cast · gitcafe/zig

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

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

Visibility: public

Requested revision: bf7b6fbbdb7d28c0d7dba3e17c46ce156712cfc8

Requested commit: bf7b6fbbdb7d28c0d7dba3e17c46ce156712cfc8

Commit: bf7b6fbbdb7d28c0d7dba3e17c46ce156712cfc8

Tree: 50ad2616948cf255982fb4138ee8757ff92b5c80

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add missing compile error for fn call bad implicit cast

when the function's return type handle is a pointer but the result
location's result value type handle is not a pointer

closes #3055

```

## Parents

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

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