Don't resolve template instances that were instantiated inside static if or statis assert

This commit is contained in:
Alexey Prokhin
2012-02-15 13:23:23 +04:00
parent 1f4cd033ca
commit bb0d51fb98
8 changed files with 20 additions and 3 deletions
+1
View File
@@ -71,6 +71,7 @@ struct Scope
int parameterSpecialization; // if in template parameter specialization
int noaccesscheck; // don't do access checks
int mustsemantic; // cannot defer semantic()
int ignoreTemplates; // set if newly instantiated templates should be ignored when codegen'ing
unsigned callSuper; // primitive flow analysis for constructors
#define CSXthis_ctor 1 // called this()