Updated Node for much more constness (unfortunately, quite some
code duplication as well). No longer need a custom Variant.
This commit is contained in:
parent
508696584e
commit
8208e817de
13 changed files with 193 additions and 1624 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue