Commit 5751f4f1 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Reenabled the old `deprecated' template instantiation.

I hate this commit, but unfortunately, I don't have time right now
to finish the new template instantion algorithm so I have to
enable the old way of doing instantiations.
parent b6efa77e
......@@ -432,7 +432,6 @@ void CreateBindings::lookupInScope(const Name *name, Scope *scope,
else if (s->name()->isQualifiedNameId())
continue; // skip qualified ids.
#if 0
if (templateId && (s->isDeclaration() || s->isFunction())) {
FullySpecifiedType ty = DeprecatedGenTemplateInstance::instantiate(templateId, s, _control);
......@@ -457,7 +456,6 @@ void CreateBindings::lookupInScope(const Name *name, Scope *scope,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment