MCPcopy Create free account
hub / github.com/argotorg/solidity / expectError

Function expectError

test/libyul/ObjectParser.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72Error expectError(std::string const& _source, bool _allowWarningsAndInfos = false)
73{
74
75 auto error = parseAndReturnFirstError(_source, _allowWarningsAndInfos);
76 BOOST_REQUIRE(error);
77 return *error;
78}
79
80std::tuple<std::optional<SourceNameMap>, ErrorList> tryGetSourceLocationMapping(std::string _source)
81{

Callers

nothing calls this directly

Calls 1

parseAndReturnFirstErrorFunction · 0.70

Tested by

no test coverage detected