test(metatype): struct construct + round-trip (examples/0622)
Locks the struct widening (aaac019): programmatic Vec2 build via
.struct(.{fields}) and a source-struct round-trip via type_info.
This commit is contained in:
1
examples/expected/0622-comptime-metatype-struct.exit
Normal file
1
examples/expected/0622-comptime-metatype-struct.exit
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
examples/expected/0622-comptime-metatype-struct.stderr
Normal file
1
examples/expected/0622-comptime-metatype-struct.stderr
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
2
examples/expected/0622-comptime-metatype-struct.stdout
Normal file
2
examples/expected/0622-comptime-metatype-struct.stdout
Normal file
@@ -0,0 +1,2 @@
|
||||
v = 1.500000 -2.000000
|
||||
r = 42 9.500000
|
||||
Reference in New Issue
Block a user