Report deprecation error on functions sha3 and suicide also without call.

This commit is contained in:
Leonardo Alt
2018-11-29 14:29:13 +01:00
parent 6b11ef1887
commit 67bbcefe6c
9 changed files with 76 additions and 22 deletions
@@ -8,5 +8,5 @@ contract test {
}
}
// ----
// TypeError: (58-66): "sha3" has been deprecated in favour of "keccak256"
// TypeError: (101-152): "suicide" has been deprecated in favour of "selfdestruct"
// TypeError: (58-62): "sha3" has been deprecated in favour of "keccak256"
// TypeError: (101-108): "suicide" has been deprecated in favour of "selfdestruct"