mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-03 21:43:14 +01:00
First import of dmd-2.065-b1 (7088593).
The CPP mangling is not integrated yet.
This commit is contained in:
@@ -77,7 +77,7 @@ void StaticAssert::semantic2(Scope *sc)
|
||||
{
|
||||
errorSupplemental(loc, "while evaluating: static assert(%s)", exp->toChars());
|
||||
}
|
||||
else if (e->isBool(FALSE))
|
||||
else if (e->isBool(false))
|
||||
{
|
||||
if (msg)
|
||||
{
|
||||
@@ -105,7 +105,7 @@ void StaticAssert::semantic2(Scope *sc)
|
||||
if (!global.gag)
|
||||
fatal();
|
||||
}
|
||||
else if (!e->isBool(TRUE))
|
||||
else if (!e->isBool(true))
|
||||
{
|
||||
error("(%s) is not evaluatable at compile time", exp->toChars());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user