You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module type T = sig
type 'a t
end
module M (T : T) = struct
type t = int T.t
end
module N (T : T) = struct
type t = M(T).t
end
If I try to jump to the definition of t inside functor N, it jumps to the current type definition, even though this is not a recursive definition of t. If I specify nonrec and then try it, I get "Not in environment 't'".
The text was updated successfully, but these errors were encountered:
voodoos
added a commit
to voodoos/merlin
that referenced
this issue
May 22, 2023
This treat an application as a single components so it is not a satisfing long-term solution.
A better approach would be to change the return type of [reconstruct_identifier] to account for module application.
This fixesocaml#1610
voodoos
added a commit
to voodoos/merlin
that referenced
this issue
May 24, 2023
This treat an application as a single components so it is not a satisfing long-term solution.
A better approach would be to change the return type of [reconstruct_identifier] to account for module application.
This fixesocaml#1610
Tested on 8f1d3f1
If I try to jump to the definition of
t
inside functorN
, it jumps to the current type definition, even though this is not a recursive definition oft
. If I specifynonrec
and then try it, I get"Not in environment 't'"
.The text was updated successfully, but these errors were encountered: