This website requires JavaScript.
Explore
Help
Sign In
AleoHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/AleoHQ/leo.git
synced
2024-12-27 11:34:44 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
9d881fd2a4
leo
/
compiler
/
tests
/
mutability
/
const.leo
5 lines
98 B
Plaintext
Raw
Normal View
History
Unescape
Escape
add const mut check
2020-06-30 06:29:53 +03:00
// Constant variables are immutable by default.
function main() {
fix indents
2020-07-17 22:59:18 +03:00
const a = 1u32;
a = 0;
add const mut check
2020-06-30 06:29:53 +03:00
}
Reference in New Issue
Copy Permalink