Closed dykstrom closed 1 month ago
This is actually expected in current roc. Since there are only immutable values and not actual variables, this is totally. That said, we do have plans to make it a warning in the future.
Well, if it is by design, then we can close this issue. But it was a bit surprising to me, so I would certainly appreciate a warning.
This example program builds and runs fine, even though variable "bar" is undefined when it is used.
I am using roc nightly pre-release, built from commit 3abc276 on Fri Jul 5 09:11:06 UTC 2024. Operating system: macOS.