Skip to content

"Invalid @var syntax" when using help in REPL #26933

@CodeLenz

Description

@CodeLenz
              _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0-DEV.4959 (2018-04-27 21:12 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 509d6a1a88* (2 days old master)
|__/                   |  x86_64-redhat-linux

help?> type
ERROR: LoadError: Invalid @var syntax `incomplete: premature end of input`.
Stacktrace:
 [1] error at ./error.jl:33 [inlined]
 [2] splitexpr at ./docs/bindings.jl:28 [inlined]
 [3] bindingexpr(::String) at ./docs/bindings.jl:17
 [4] lookup_doc(::Expr) at /home/lenz/julia/usr/share/julia/stdlib/v0.7/REPL/src/docview.jl:137
 [5] docm(::LineNumberNode, ::Module, ::Expr) at ./docs/Docs.jl:484
 [6] @doc(::LineNumberNode, ::Module, ::Vararg{Any,N} where N) at ./boot.jl:457
in expression starting at /home/lenz/julia/usr/share/julia/stdlib/v0.7/REPL/src/docview.jl:300

I do not know if it is related to #26906

Metadata

Metadata

Assignees

No one assigned

    Labels

    REPLJulia's REPL (Read Eval Print Loop)docsystemThe documentation building system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions