diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-08-07 20:08:37 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-08-07 20:08:37 -0700 |
| commit | 0d5ecc4312f45f9288c4a349837f04b733405960 (patch) | |
| tree | e5b61cab7f98f36025b4bbb85d9bef7239162aa5 /src/parseh.cpp | |
| parent | 275410dc33d3f040be9213d5f8175e1ced6c6a7d (diff) | |
| download | zig-0d5ecc4312f45f9288c4a349837f04b733405960.tar.gz zig-0d5ecc4312f45f9288c4a349837f04b733405960.zip | |
ability to have a return type of 'type'
Diffstat (limited to 'src/parseh.cpp')
| -rw-r--r-- | src/parseh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseh.cpp b/src/parseh.cpp index ae91b143aa..11015b8133 100644 --- a/src/parseh.cpp +++ b/src/parseh.cpp @@ -600,7 +600,7 @@ static TypeTableEntry *resolve_type_with_table(Context *c, const Type *ty, const param_info->is_noalias = qt.isRestrictQualified(); } - return get_fn_type(c->codegen, &fn_type_id); + return get_fn_type(c->codegen, &fn_type_id, true); } case Type::Record: { |
