mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add emit keyword to documentation.
This commit is contained in:
parent
01fd5a8d51
commit
b55d9aacff
@ -443,7 +443,7 @@ For example,
|
|||||||
function Test() public { b = 0x12345678901234567890123456789012; }
|
function Test() public { b = 0x12345678901234567890123456789012; }
|
||||||
event Event(uint indexed a, bytes32 b);
|
event Event(uint indexed a, bytes32 b);
|
||||||
event Event2(uint indexed a, bytes32 b);
|
event Event2(uint indexed a, bytes32 b);
|
||||||
function foo(uint a) public { Event(a, b); }
|
function foo(uint a) public { emit Event(a, b); }
|
||||||
bytes32 b;
|
bytes32 b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user