Compiler produces odd error message in this corner case
Compiler returns odd error message in the case below. The actual cause of the problem is that the user is trying to bind the name json
. While trying to bind json
, that name is not available for use on the right hand side. Consequently, json.value
is unbound.
$ rosie repl
Rosie 1.0.0-beta-8
Rosie> import json
Rosie> json = json.value ~
Compile error
[compiler]: unbound identifier: json.value
in user input :1:8: json = json.value ~
Rosie> pat = json.value ~
Rosie>