Extracted from #4752.
As an example, try removing this @as cast here:
|
break :blk @as([]u8, &line_buf); // TODO the cast should not be necessary |
It gives:
lib/std/net.zig:819:60: error: incompatible types: '*[512]u8' and '?[]u8'
The first step to solving this is a self-contained reduced behavior test case.
Extracted from #4752.
As an example, try removing this
@ascast here:zig/lib/std/net.zig
Line 823 in dc04e97
It gives:
The first step to solving this is a self-contained reduced behavior test case.