aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-03-15 15:53:50 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-15 20:12:22 -0400
commitfd43434149658ee482428714e05722e5a12fdecc (patch)
treea2741731117e8a3cfc1f20232ef393f3434c064a /test/behavior/struct.zig
parent1149e8bb088f48e29f3abc06196b1134f5e1c42f (diff)
downloadzig-fd43434149658ee482428714e05722e5a12fdecc.tar.gz
zig-fd43434149658ee482428714e05722e5a12fdecc.zip
stage2: TypeInfo for func with generic return type should set null
Prior to these, the return type was non-null but the value was generic poison which wasn't usable in user-space. This sets the value to null. This also adds a behavior test for this. Co-authored-by: InKryption <inkryption07@gmail.com>
Diffstat (limited to 'test/behavior/struct.zig')
0 files changed, 0 insertions, 0 deletions