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 2b3d2b4 commit 2d375c8Copy full SHA for 2d375c8
libsolidity/analysis/SyntaxChecker.cpp
@@ -149,6 +149,13 @@ bool SyntaxChecker::visit(PragmaDirective const& _pragma)
149
);
150
else
151
m_sourceUnit->annotation().useABICoderV2 = (_pragma.literals()[1] == "v2");
152
+
153
+ if (_pragma.literals().size() > 1 && _pragma.literals()[1] == "v1")
154
+ m_errorReporter.warning(
155
+ 9511_error,
156
+ _pragma.location(),
157
+ "ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9)."
158
+ );
159
}
160
else if (_pragma.literals()[0] == "solidity")
161
{
0 commit comments