Why referring to immutable variable is NOT side effect free in Nim?

前端 未结 0 1800
星月不相逢
星月不相逢 2021-01-03 05:01

The code below won\'t compile because of the reference to the let one = 1.

Why? It seems like it\'s side effect free (and thread safe too) - as it\'s imp

相关标签:
回答
  • 消灭零回复
提交回复
热议问题