Mercurial > projects > ddmd
diff dmd/Type.d @ 94:3a0b150c9841
Objects -> Vector!Object iteration 1
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Mon, 30 Aug 2010 23:00:34 +0100 |
parents | b17640f0e4e8 |
children | 12c0c84d13fd |
line wrap: on
line diff
--- a/dmd/Type.d Mon Aug 30 22:50:30 2010 +0200 +++ b/dmd/Type.d Mon Aug 30 23:00:34 2010 +0100 @@ -1957,7 +1957,7 @@ // foo(U:U) invariant(T) => invariant(T) if (!at) { - dedtypes.data[i] = cast(void*)this; + dedtypes[i] = this; goto Lexact; } } @@ -1967,7 +1967,7 @@ tt = mutableOf(); if (!at) { - dedtypes.data[i] = cast(void*)tt; + dedtypes[i] = tt; goto Lexact; } } @@ -1977,7 +1977,7 @@ tt = mutableOf(); if (!at) { - dedtypes.data[i] = cast(void*)tt; + dedtypes[i] = tt; goto Lconst; } }