# Sema: fix array_init with runtime element · gitcafe/zig

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

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

Visibility: public

Requested revision: 41f3799bf0cfc8241f458094781ba45967e2576e

Requested commit: 41f3799bf0cfc8241f458094781ba45967e2576e

Commit: 41f3799bf0cfc8241f458094781ba45967e2576e

Tree: b26beee8643ba7ebac7774898366f6add4667e3b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: fix array_init with runtime element

Previously it emitted an invalid AIR encoding.

```

## Parents

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

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