diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-10-28 13:22:35 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-10-28 13:22:47 +0200 |
commit | 0630f467760671cdfa73c4f12422275280448312 (patch) | |
tree | d7dba406e9d4f1c014269cc6316c47c076f09cc4 /src | |
parent | a57d880c493bab4fd851e778badfef62c77fd235 (diff) |
ir: References have no implicit template parameters.
Fixes #1113.
Diffstat (limited to 'src')
-rw-r--r-- | src/codegen/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/mod.rs b/src/codegen/mod.rs index 6c1ed02f..53ed24ff 100644 --- a/src/codegen/mod.rs +++ b/src/codegen/mod.rs @@ -268,6 +268,7 @@ impl AppendImplicitTemplateParams for quote::Tokens { TypeKind::Void | TypeKind::NullPtr | TypeKind::Pointer(..) | + TypeKind::Reference(..) | TypeKind::Int(..) | TypeKind::Float(..) | TypeKind::Complex(..) | @@ -280,7 +281,6 @@ impl AppendImplicitTemplateParams for quote::Tokens { TypeKind::ObjCId | TypeKind::ObjCSel | TypeKind::TemplateInstantiation(..) => return, - _ => {}, } |