I'm not sure if this is already answered somewhere, but I'm trying to use basic-cli with the new zig compiler. I'm using the latest main branch for both roc and basic-cli. I get this error in basic-cli however:
┌────────────────┐
│ DOES NOT EXIST ├─ U32.shift_left_by does not exist. ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
└┬───────────────┘ │
│ │
│ top = U32.shift_left_by(U8.to_u32(U8.bitwise_and(byte1, 0x1F)), 6) │
│ ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ │
└────────────────────────────────────────────────────────────────────── /Users/kilian/Documents/Personal/projects/roc/habba/vendored/basic-cli/platform/OsStr.roc:132:10 ┘
U32 is in scope, but it has no associated shift_left_by.
(And a bunch of other very similar ones)
Is this a known issue? Should I just be waiting for a while, while basic-cli gets updated properly for the new compiler?
Yes, I've PR:d a fix and it'll probably work with tomorrow's nightly :octopus:
If you're an addict like me, here's a temporary fix: https://github.com/niclas-ahden/basic-cli/releases/tag/0.22.1
Cool! Trying it now
sorry, I just did a pass updating some Num builtins and this was affected!
Last updated: Jul 23 2026 at 13:15 UTC