mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Promote gwei to a proper keyword.
This commit is contained in:
committed by
Leonardo Alt
parent
38c6ecbbe2
commit
c3e13b6733
@@ -1,7 +1,7 @@
|
||||
contract C {
|
||||
uint constant gwei = 1 gwei;
|
||||
uint constant x = 1 gwei;
|
||||
|
||||
function f() public view returns(uint) { return gwei; }
|
||||
function f() public view returns(uint) { return x; }
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
|
||||
Reference in New Issue
Block a user