From 0d5ecc4312f45f9288c4a349837f04b733405960 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 7 Aug 2016 20:08:37 -0700 Subject: ability to have a return type of 'type' --- src/parseh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parseh.cpp') 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: { -- cgit v1.2.3