Updated Node for much more constness (unfortunately, quite some

code duplication as well). No longer need a custom Variant.
This commit is contained in:
Ferdinand Majerech 2011-10-30 18:12:02 +01:00
parent 508696584e
commit 8208e817de
13 changed files with 193 additions and 1624 deletions

View file

@ -403,7 +403,7 @@ void testConstructor(bool verbose, string dataFilename, string codeDummy)
size_t i = 0;
foreach(node; loader)
{
if(!node.equals!(Node, false)(exp[i]))
if(!node.equals!false(exp[i]))
{
if(verbose)
{

View file

@ -69,7 +69,7 @@ void testRepresenterTypes(bool verbose, string codeFilename)
assert(expectedNodes.length == readNodes.length);
foreach(n; 0 .. expectedNodes.length)
{
assert(expectedNodes[n].equals!(Node, false)(readNodes[n]));
assert(expectedNodes[n].equals!false(readNodes[n]));
}
}
}