Skip to content
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

Unable to create docstrings within if #23492

Closed
omus opened this issue Aug 28, 2017 · 2 comments
Closed

Unable to create docstrings within if #23492

omus opened this issue Aug 28, 2017 · 2 comments
Labels
docsystem The documentation building system

Comments

@omus
Copy link
Member

omus commented Aug 28, 2017

Example taken from the documentation:

julia> begin
           "..."
           f(x) = x
       end
f

julia> if true
           "..."
           g(x) = x
       end
g (generic function with 1 method)

help?> f
search: fd for fma fld fft full fld1 find filt fill fft! fdio frexp foldr foldl flush floor float first findn filt! fill! fetch FFTW fldmod findnz findin filter falses finally foreach flipdim fldmod1

  ...

help?> g
search: gc get gcd get! gcdx gperm gamma global golden givens getpid getkey gensym getfield gradient getindex GotoNode graphemes getipaddr gc_enable GlobalRef getsockname getpeername gethostname

  No documentation found.

  g is a Function.

  # 1 method for generic function "g":
  [1] g(x) in Main at REPL[2]:3
@omus omus added the docsystem The documentation building system label Aug 28, 2017
@fredrikekre
Copy link
Member

dup of #14962

@omus
Copy link
Member Author

omus commented Aug 28, 2017

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docsystem The documentation building system
Projects
None yet
Development

No branches or pull requests

2 participants