Skip to content

Commit

Permalink
Change llvmcall docs binding
Browse files Browse the repository at this point in the history
The docstring for `llvmcall` was bound to a keyword rather than
the actual intrinsic `Core.Intrinsics.llvmcall`.

This produced the following odd behaviour when trying to find the docs:

    help?> llvmcall

    ... docs ...

    julia> llvmcall
    ERROR: UndefVarError: llvmcall not defined

    help?> Base.llvmcall

    ... no docs ...

    julia> Base.llvmcall
    (intrinsic function JuliaLang#90)
  • Loading branch information
MichaelHatherly committed May 13, 2016
1 parent 374b138 commit 83444aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/docs/basedocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ functions for further details). In most cases, this simply results in a call to
See `test/llvmcall.jl` for usage examples.
"""
kw"llvmcall"
Core.Intrinsics.llvmcall

"""
`begin...end` denotes a block of code.
Expand Down

0 comments on commit 83444aa

Please sign in to comment.