# fix ability to call methods on enums with pointer-to-self · gitcafe/zig

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

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

Visibility: public

Requested revision: 4696cd3e09c4e33519dbb53a41c32bbdfd97f6f6

Requested commit: 4696cd3e09c4e33519dbb53a41c32bbdfd97f6f6

Commit: 4696cd3e09c4e33519dbb53a41c32bbdfd97f6f6

Tree: 82757e8ebf565c4960c639e3604f4247daef4dc9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix ability to call methods on enums with pointer-to-self

closes #3218

```

## Parents

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

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