# Sema: remove \`block\` and \`src\` parameters from \`getBuiltin\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 0184c8d86f614a216641039e06e97f08d439fff7

Requested commit: 0184c8d86f614a216641039e06e97f08d439fff7

Commit: 0184c8d86f614a216641039e06e97f08d439fff7

Tree: 078692e2754178870af16e4316e14e89557555b8

Author: Veikka Tuominen

Committer: Andrew Kelley

## Message

```
Sema: remove `block` and `src` parameters from `getBuiltin`

These parameters are only ever needed when `std.builtin` is out of sync
with the compiler in which case panicking is the only valid operation
anyways. Removing them causes a domino effect of functions no longer
needing a `src` and/or a `block` parameter resulting in handling
compilation errors where they are actually meaningful becoming simpler.

```

## Parents

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

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