Fixed bug in in() serialization

in(select(...)) did have an extra set of braces, which lead to different behaviour.
Thanks to Thomas Marsh for finding the bug
This commit is contained in:
rbock
2014-10-03 08:51:27 +02:00
parent 236b367231
commit b3ef68101f
2 changed files with 8 additions and 1 deletions

View File

@@ -179,6 +179,9 @@ int main()
printer.reset();
std::cerr << serialize(x, printer).str() << std::endl;
printer.reset();
std::cerr << serialize(select(all_of(t)).from(t).where(t.alpha.in(select(f.epsilon).from(f).where(true))), printer).str() << std::endl;
return 0;