forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix attaching docstrings to where call syntax (JuliaLang#33446)
* Allow documenting where-expressions I.e. docstrings can now also be attached to expressions that look as follows: """ """ foo(::T) where T Note that it was already fine to attach docstrings to such methods when the docstring was attached to the function body: """ """ function foo(::T) where T ... end * Better fix * Add tests
- Loading branch information
1 parent
b75fce2
commit 8e155c7
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters