Describe the bug
In the following snippet, :doc bar will explain foo instead of bar because bar is foo partially applied.
Steps To Reproduce
Save this to a file. In the repl, run :doc bar.
rec {
/**
foo
*/
foo = _: _: {};
/**
bar
*/
bar = foo {};
}
Expected behavior
Nix should not try to find the documentation of the underlying function. Or, alternatively, it should allow a pragma comment to specify whether it tries to find the documentation of the underlying function.
Metadata
Additional context
Checklist
Add 👍 to issues you find important.
Describe the bug
In the following snippet,
:doc barwill explainfooinstead ofbarbecausebarisfoopartially applied.Steps To Reproduce
Save this to a file. In the repl, run
:doc bar.Expected behavior
Nix should not try to find the documentation of the underlying function. Or, alternatively, it should allow a pragma comment to specify whether it tries to find the documentation of the underlying function.
Metadata
Additional context
Checklist
Add 👍 to issues you find important.