diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-03-15 15:53:50 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-15 20:12:22 -0400 |
| commit | fd43434149658ee482428714e05722e5a12fdecc (patch) | |
| tree | a2741731117e8a3cfc1f20232ef393f3434c064a /src/codegen | |
| parent | 1149e8bb088f48e29f3abc06196b1134f5e1c42f (diff) | |
| download | zig-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 'src/codegen')
0 files changed, 0 insertions, 0 deletions
