Mercurial > projects > ddmd
comparison dmd/Type.d @ 113:3482c73a991b
More cleanup for arrays
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Tue, 31 Aug 2010 23:57:32 +0100 |
parents | 12c0c84d13fd |
children | e28b18c23469 |
comparison
equal
deleted
inserted
replaced
112:3f02152c5e68 | 113:3482c73a991b |
---|---|
1908 | 1908 |
1909 // Found the corresponding parameter tp | 1909 // Found the corresponding parameter tp |
1910 if (!tp.isTemplateTypeParameter()) | 1910 if (!tp.isTemplateTypeParameter()) |
1911 goto Lnomatch; | 1911 goto Lnomatch; |
1912 Type tt = this; | 1912 Type tt = this; |
1913 Type at = cast(Type)dedtypes.data[i]; | 1913 Type at = cast(Type)dedtypes[i]; |
1914 | 1914 |
1915 // 5*5 == 25 cases | 1915 // 5*5 == 25 cases |
1916 static pure int X(int U, int T) { return ((U << 3) | T); } | 1916 static pure int X(int U, int T) { return ((U << 3) | T); } |
1917 | 1917 |
1918 switch (X(tparam.mod, mod)) | 1918 switch (X(tparam.mod, mod)) |