Merge pull request #6906 from ethereum/delegatecall_value_msg

Improve error message for delegatecall.value
This commit is contained in:
Leonardo
2019-06-12 21:14:54 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -5,4 +5,4 @@ contract test {
}
}
// ----
// TypeError: (87-96): Member "value" is only available for payable functions.
// TypeError: (87-96): Member "value" is not allowed in delegated calls due to "msg.value" persisting.