Skip to content

Commit d20b629

Browse files
fixup! remove specific version from warning
1 parent 8b8ddc4 commit d20b629

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

libsolidity/analysis/DocStringTagParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ bool DocStringTagParser::visit(InlineAssembly const& _assembly)
215215
2424_error,
216216
_assembly.location(),
217217
"Natspec 'memory-safe-assembly' special comment for inline assembly is deprecated and "
218-
"scheduled for removal in the next breaking version (0.9). "
218+
"scheduled for removal. "
219219
"Use the memory-safe block annotation instead."
220220
);
221221
}

libsolidity/analysis/SyntaxChecker.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ bool SyntaxChecker::visit(PragmaDirective const& _pragma)
157157
m_errorReporter.warning(
158158
9511_error,
159159
_pragma.location(),
160-
"ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). "
161-
"Use ABI coder v2 instead."
160+
"ABI coder v1 is deprecated and scheduled for removal. Use ABI coder v2 instead."
162161
);
163162
}
164163
else if (_pragma.literals()[0] == "solidity")
@@ -200,7 +199,7 @@ void SyntaxChecker::endVisit(ModifierDefinition const& _modifier)
200199
m_errorReporter.warning(
201200
8429_error,
202201
_modifier.location(),
203-
"Virtual modifiers are deprecated and scheduled for removal in the next breaking version (0.9)."
202+
"Virtual modifiers are deprecated and scheduled for removal."
204203
);
205204

206205
m_placeholderFound = false;

libsolidity/analysis/TypeChecker.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,8 +1836,7 @@ void TypeChecker::endVisit(BinaryOperation const& _operation)
18361836
m_errorReporter.warning(
18371837
9170_error,
18381838
_operation.location(),
1839-
"Comparison of variables of contract type is deprecated and scheduled for removal "
1840-
"in the next breaking version (0.9). "
1839+
"Comparison of variables of contract type is deprecated and scheduled for removal. "
18411840
"Use an explicit cast to address type and compare the addresses instead."
18421841
);
18431842
}
@@ -3232,8 +3231,7 @@ bool TypeChecker::visit(MemberAccess const& _memberAccess)
32323231
9207_error,
32333232
_memberAccess.location(),
32343233
fmt::format(
3235-
"'{}' is deprecated and scheduled for removal in the next breaking version (0.9). "
3236-
"Use 'call{{value: <amount>}}(\"\")' instead.",
3234+
"'{}' is deprecated and scheduled for removal. Use 'call{{value: <amount>}}(\"\")' instead.",
32373235
funType->kind() == FunctionType::Kind::Send ? "send" : "transfer"
32383236
)
32393237
);

0 commit comments

Comments
 (0)