aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-12 01:10:24 +0800
committerchriseth <chris@ethereum.org>2018-06-27 02:00:54 +0800
commit80b7d361873f239fef30d10a10c73e724eecff3e (patch)
treef4094da695b54614c9288173dffec7f97eba31c1 /test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol
parent503eb8caa53c1f6ef00cec1fee099b2457c304f4 (diff)
downloaddexon-solidity-80b7d361873f239fef30d10a10c73e724eecff3e.tar
dexon-solidity-80b7d361873f239fef30d10a10c73e724eecff3e.tar.gz
dexon-solidity-80b7d361873f239fef30d10a10c73e724eecff3e.tar.bz2
dexon-solidity-80b7d361873f239fef30d10a10c73e724eecff3e.tar.lz
dexon-solidity-80b7d361873f239fef30d10a10c73e724eecff3e.tar.xz
dexon-solidity-80b7d361873f239fef30d10a10c73e724eecff3e.tar.zst
dexon-solidity-80b7d361873f239fef30d10a10c73e724eecff3e.zip
Remove non-0.5.0 warning for emit keyword (make it mandatory)
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol')
-rw-r--r--test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol
index abf46f94..8cf50597 100644
--- a/test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol
+++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol
@@ -1,6 +1,5 @@
contract c {
event e(uint a, bytes3 indexed s, bool indexed b);
- function f() public { e(2, "abc", true); }
+ function f() public { emit e(2, "abc", true); }
}
// ----
-// Warning: (94-111): Invoking events without "emit" prefix is deprecated.