• Joined on 2025年12月04日
avis137 commented on issue ziglang/zig#36115 2026年07月10日 13:54:59 +02:00
Inconsistent type inference to comptime

The langref states (https://ziglang.org/documentation/master/#Local-Variables) "If the initialization value of a const variable is comptime-known, then the variable is also comptime-known."

avis137 commented on issue ziglang/zig#35786 2026年06月20日 16:57:22 +02:00
Arithmetic with comptime_int and runtime int throws "type cannot represent integer value" even when result is representable

I don't know whether the current behavior was intended, but I believe the above code couldn't work no matter how implemented.