Commit dc589ee7 authored by Heiko Becker's avatar Heiko Becker
Browse files

Fix typo breaking analitzatest

2: FAIL!  : AnalitzaTest::testCorrection(lambda1) Compared values are not the same
2:    Actual   (evalResult.toString()): "a<2"
2:    Expected (result)               : "false"

Introduced with 093061c0.
parent a2d20b52
......@@ -358,7 +358,7 @@ Object* Analyzer::eval(const Object* branch, bool resolve, const QSet<QString>&
case Container::lambda: {
QSet<QString> newUnscoped(unscoped);
const auto &bvarString = c->bvarStrings();
newUnscoped+ QSet<QString>(bvarString.begin(), bvarString.end());
newUnscoped += QSet<QString>(bvarString.begin(), bvarString.end());
Container *r = c->copy();
Object* old=r->m_params.last();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment