# Binary operator error

**URL:** <https://ziggit.dev/t/binary-operator-error/17850>\
**Category:** Help\
**Tags:** language\
**Created:** [October 5, 2026, 12:52pm UTC](https://ziggit.dev/t/binary-operator-error/17850 "2026-10-05T12:52:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZViperSw](https://ziggit.dev/user_avatar/ziggit.dev/zvipersw/32/10268_2.png) [@ZViperSw](https://ziggit.dev/u/ZViperSw)\
**Post date:** [October 5, 2026, 12:52pm UTC](https://ziggit.dev/t/binary-operator-error/17850/1 "2026-10-05T12:52:03Z")

</div>

I need help finding an ziglings error, I tried many solutions including googlling and use ai. However I still have not found a way to fix this error, all help appreciated!

error: binary operator ‘\*’ has whitepace on one side, but not the other  
const bit\_pattern\_unit = [\_]u8{ 1, 0, 0, 1 } \*\* 3;

---

<div class="post-metadata">

**Author:** ![Nae](https://ziggit.dev/user_avatar/ziggit.dev/nae/32/10157_2.png) [@Nae](https://ziggit.dev/u/Nae)\
**Post date:** [October 5, 2026, 12:57pm UTC](https://ziggit.dev/t/binary-operator-error/17850/2 "2026-10-05T12:57:45Z")

</div>

This syntax [has been removed](https://ziglang.org/download/0.17.0/release-notes.html#Array-Multiplication-Syntax-Removed).

Which zigling exercise? I cannot grep `**` in my version. Maybe you have an old fork, look in the [codeberg repo](https://codeberg.org/ziglings/exercises).

---

<div class="post-metadata">

**Author:** ![elpablete](https://ziggit.dev/user_avatar/ziggit.dev/elpablete/32/7701_2.png) [@elpablete](https://ziggit.dev/u/elpablete)\
**Post date:** [October 5, 2026, 1:24pm UTC](https://ziggit.dev/t/binary-operator-error/17850/3 "2026-10-05T13:24:28Z")

</div>

Use `@splat` instead of the `**`, this has been removed in version `0.17.0`.

---

<div class="post-metadata">

**Author:** ![ZViperSw](https://ziggit.dev/user_avatar/ziggit.dev/zvipersw/32/10268_2.png) [@ZViperSw](https://ziggit.dev/u/ZViperSw)\
**Post date:** [October 9, 2026, 6:11pm UTC](https://ziggit.dev/t/binary-operator-error/17850/4 "2026-10-09T18:11:32Z")

</div>

Thanks for that info!
