This website requires JavaScript.
Explore
Help
Sign In
ProvableHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/ProvableHQ/leo.git
synced
2024-12-22 17:51:39 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5222fcfe93
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