const T = @typeInfo([]const u8);
try check.ok(T.pointer.size == @import("std").builtin.Type.pointer.size.slice);
source.test.zig:24:65: error: type '@typeInfo(builtin.Type).@"union".tag_type.?' does not support field access
try check.ok(T.pointer.size == @import("std").builtin.Type.pointer.size.slice);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
I have this type checking code that I was using for unit testing in 0.13-0.14
I'm porting it to 0.15.1, but I'm getting new errors since the typeinfo API changed lately.
What is this meant to look like with the new typeinfo fields? 🤔