-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
References through open
#594
Comments
In my opinion it should render as
In general it's nice that In any case I don't feel the need to go overboard with differences and in general it seems wise to keep the notion of scope of OCaml and
wouldn't work in |
Currently there is no support for unqualified references to items brought into the scope by an
open
.This was reported by @dbuenzli: #585 (comment)
For example:
Expected behavior ?
In this example, should
t
resolve and should it render ast
(as it's written) orA.t
(as it would renders if it were a type expression) ?What about this:
References can point to items defined below them, and even to
include
d items. Shouldopen
have the same behavior ?Fixing this issue would probably break one of:
The text was updated successfully, but these errors were encountered: