# std.hash_map: workaround for circular dependency · gitcafe/zig

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

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

Visibility: public

Requested revision: b45c6c757cb4a16f5021c8bf057d14183036f14c

Requested commit: b45c6c757cb4a16f5021c8bf057d14183036f14c

Commit: b45c6c757cb4a16f5021c8bf057d14183036f14c

Tree: 1fd085e2222c1e760cf617112b955c1d4afef632

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.hash_map: workaround for circular dependency

See #11367

It's debatable whether this ends up being a legitimate compile error or
whether the lang spec allows this test case. For now this workaround
seems very reasonable; delaying comptime execution of `verifyContext`
until the struct is instantiated.

```

## Parents

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

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