1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Defer more instantiations, follow up for bug 256113.

This commit is contained in:
Markus Schorn 2008-11-27 10:39:29 +00:00
parent 7b7875106f
commit eeea9a4a25

View file

@ -139,7 +139,7 @@ public class CPPTemplates {
public static IBinding instantiate(ICPPTemplateDefinition template, ICPPTemplateArgument[] arguments) {
try {
arguments= SemanticUtil.getSimplifiedArguments(arguments);
if (template instanceof ICPPTemplateTemplateParameter) {
if (template instanceof ICPPTemplateTemplateParameter || hasDependentArgument(arguments)) {
return deferredInstance(template, arguments);
}