merlin icon indicating copy to clipboard operation
merlin copied to clipboard

Go-to-def on an alias module leads to aliased module

Open ulugbekna opened this issue 5 years ago • 0 comments

Go-to-definition on an alias module A goes not to the definition of the alias module A but to the definition of the module being aliased M. Is this the expected behavior?

module  M = struct end
module A = M
module K = A (* go to def on `A` leads to `module M = ...` instead of `module A = ...` *)

Maybe related to #1199

ulugbekna avatar Dec 23 '20 07:12 ulugbekna