Recommend via-ir whenever a stack too deep error is encountered.

This commit is contained in:
hrkrshnn
2022-05-05 19:22:03 +02:00
parent 1dba6aafe4
commit 5ae17c8e65
11 changed files with 59 additions and 20 deletions
+1 -1
View File
@@ -1428,7 +1428,7 @@ BOOST_AUTO_TEST_CASE(use_stack_optimization)
BOOST_REQUIRE(result["errors"].isArray());
BOOST_CHECK(result["errors"][0]["severity"] == "error");
BOOST_REQUIRE(result["errors"][0]["message"].isString());
BOOST_CHECK(result["errors"][0]["message"].asString().find("Stack too deep when compiling inline assembly") != std::string::npos);
BOOST_CHECK(result["errors"][0]["message"].asString().find("When compiling inline assembly") != std::string::npos);
BOOST_CHECK(result["errors"][0]["type"] == "CompilerError");
}