#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
export fn entry() void {
    const Vec2 = struct {
        comptime x: f32 = 1.5,
        comptime y: f32 = 2.5,
    };
    const f: Vec2 = @import("vec2.zon");
    _ = f;
}
#}
#write vec2.zon ".{ .x = 1.5, .y = 2 }"
#update
#check errors {
vec2.zon:1:19: error: value stored in comptime field does not match the default value of the field
test.zig:6:29: note: imported here
#}
