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

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

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

Visibility: public

Requested revision: 33fe7f28811e91d8801b0bdf7c6b2d776a60a745

Requested commit: 33fe7f28811e91d8801b0bdf7c6b2d776a60a745

Commit: 33fe7f28811e91d8801b0bdf7c6b2d776a60a745

Tree: ad0a4c40237b8d2bb28909f98888d571ca601207

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

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

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