Skip to content

Commit 75beff0

Browse files
fixup! Deprecation warning for send and transfer member functions
1 parent d20d7c8 commit 75beff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/analysis/TypeChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3233,7 +3233,7 @@ bool TypeChecker::visit(MemberAccess const& _memberAccess)
32333233
_memberAccess.location(),
32343234
fmt::format(
32353235
"'{}' is deprecated and scheduled for removal in the next breaking version (0.9). "
3236-
"Use 'call{{value: <amount>}}()' instead.",
3236+
"Use 'call{{value: <amount>}}(\"\")' instead.",
32373237
funType->kind() == FunctionType::Kind::Send ? "send" : "transfer"
32383238
)
32393239
);

0 commit comments

Comments
 (0)