Skip to content

REPL helpmode for "=" returns error #29282

@aaron-jesse-ol

Description

@aaron-jesse-ol
help?> =
ERROR: LoadError: Invalid @var syntax `unexpected "="`.
Stacktrace:
 [1] splitexpr(::Any) at ./docs/bindings.jl:28
 [2] bindingexpr(::Any) at ./docs/bindings.jl:17
 [3] lookup_doc(::Expr) at /build/julia/src/julia/usr/share/julia/stdlib/v1.0/REPL/src/docview.jl:137
 [4] @doc(::LineNumberNode, ::Module, ::Expr, ::Vararg{Expr,N} where N) at ./boot.jl:451
in expression starting at /build/julia/src/julia/usr/share/julia/stdlib/v1.0/REPL/src/docview.jl:301

Looking at basedocs.jl, it seems like there isn't actually a docstring for =, so maybe parsing it isn't important. OTOH at least one user (me) has thought this would be the quick way to get answers about how = works in Julia.

Julia Version 1.0.0
Commit 5d4eaca0c9 (2018-08-08 20:58 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, broadwell)
Environment:
  JULIA_EDITOR = atom -a
  JULIA_NUM_THREADS = 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    REPLJulia's REPL (Read Eval Print Loop)docsThis change adds or pertains to documentationgood first issueIndicates a good issue for first-time contributors to Juliahelp wantedIndicates that a maintainer wants help on an issue or pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions