This website requires JavaScript.
Explore
Help
Sign In
cerc-io
/
solidity
Watch
16
Star
0
Fork
0
You've already forked solidity
mirror of
https://github.com/ethereum/solidity
synced
2023-10-03 13:03:40 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
8735d3fb6c
solidity
/
test
/
libsolidity
/
semanticTests
/
immutable
/
getter.sol
8 lines
99 B
Solidity
Raw
Normal View
History
Unescape
Escape
Accessors for immutable variables.
2020-04-02 15:13:31 +00:00
contract
C
{
uint
immutable
public
x
=
1
;
}
Yul codegen for immutables.
2020-04-02 18:06:52 +00:00
// ====
// compileViaYul: also
Accessors for immutable variables.
2020-04-02 15:13:31 +00:00
// ----
// x() -> 1
Reference in New Issue
Copy Permalink