-
Hi all, I just started out playing with the compiler (on MacOS), and one of the first things I typed that I didn't expect to compile, did. Here is the code:
This compiles and prints 2. I was expecting it to complain about mutation through a let binding and missing &s and maybe other things. What am I missing here? |
Beta Was this translation helpful? Give feedback.
Answered by
dabrahams
Jul 13, 2024
Replies: 1 comment 5 replies
-
Nothing; it's a bug! |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
dholmin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nothing; it's a bug!