# std.HashMap: fix getPtrAdapted\. AstGen: fix fn param iteration · gitcafe/zig

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

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

Visibility: public

Requested revision: 47f2463b5c784cb7be9593f56e6b89805dbb8f06

Requested commit: 47f2463b5c784cb7be9593f56e6b89805dbb8f06

Commit: 47f2463b5c784cb7be9593f56e6b89805dbb8f06

Tree: e08eed656f8d648dcf550dc7244d31a0b3846416

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.HashMap: fix getPtrAdapted. AstGen: fix fn param iteration

There was a bug in stage2 regarding iteration of function parameter AST.
This resulted in a false negative "unused parameter" compile error,
which, when fixed, revealed a bug in the std lib HashMap implementation.

```

## Parents

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

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