We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3f31b6 commit aef32c5Copy full SHA for aef32c5
test/libsolidity/SolidityExecutionFramework.h
@@ -65,7 +65,7 @@ class SolidityExecutionFramework: public dev::test::ExecutionFramework
65
{
66
// Silence compiler version warning
67
std::string sourceCode = "pragma solidity >=0.0;\n";
68
- if (dev::test::Options::get().useABIEncoderV2)
+ if (dev::test::Options::get().useABIEncoderV2 && _sourceCode.find("pragma experimental ABIEncoderV2;") == std::string::npos)
69
sourceCode += "pragma experimental ABIEncoderV2;\n";
70
sourceCode += _sourceCode;
71
m_compiler.reset(false);
0 commit comments