Mercurial > projects > ldc
comparison dmd/mtype.c @ 739:1ae94fb1dbbd
Fix accidental double-inreg caused by shared TupleType. Enabled inreg by default.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 30 Oct 2008 10:16:37 +0100 |
parents | 55f6c2e454d7 |
children | 05e7657a7811 |
comparison
equal
deleted
inserted
replaced
738:ecb429ee0648 | 739:1ae94fb1dbbd |
---|---|
3452 t = t->semantic(loc, scx); | 3452 t = t->semantic(loc, scx); |
3453 //((TypeIdentifier *)t)->resolve(loc, scx, pe, &t, ps); | 3453 //((TypeIdentifier *)t)->resolve(loc, scx, pe, &t, ps); |
3454 } | 3454 } |
3455 } | 3455 } |
3456 if (t->ty == Ttuple) | 3456 if (t->ty == Ttuple) |
3457 *pt = t; | 3457 *pt = t->syntaxCopy(); |
3458 else | 3458 else |
3459 *pt = t->merge(); | 3459 *pt = t->merge(); |
3460 } | 3460 } |
3461 if (!s) | 3461 if (!s) |
3462 { | 3462 { |