Merge DMD r294: bugzilla 2816 Sudden-death static assert is not...

bugzilla 2816 Sudden-death static assert is not very useful.
---
 dmd/expression.h   |   12 ++++++
 dmd/staticassert.c |   10 +---
 dmd/template.c     |  108 ++++++++++++++++++++++++++++++++++++++++++++++++----
 dmd/template.h     |    2 +
 4 files changed, 117 insertions(+), 15 deletions(-)
This commit is contained in:
Leandro Lucarella
2010-01-06 15:18:21 -03:00
parent d6891f8f24
commit 9eba8c9f32
4 changed files with 117 additions and 15 deletions

View File

@@ -1546,6 +1546,18 @@ struct ModExp : BinExp
#endif
};
#if DMDV2
struct PowExp : BinExp
{
PowExp(Loc loc, Expression *e1, Expression *e2);
Expression *semantic(Scope *sc);
// For operator overloading
Identifier *opId();
Identifier *opId_r();
};
#endif
struct ShlExp : BinExp
{
ShlExp(Loc loc, Expression *e1, Expression *e2);