# help? type (in 0.7)

**URL:** <https://discourse.julialang.org/t/help-type-in-0-7/13075>\
**Category:** New to Julia\
**Created:** [August 9, 2018, 9:48am UTC](https://discourse.julialang.org/t/help-type-in-0-7/13075 "2018-08-09T09:48:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![togo59](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/togo59/32/4138_2.png) [@togo59](https://discourse.julialang.org/u/togo59)\
**Post date:** [August 9, 2018, 9:48am UTC](https://discourse.julialang.org/t/help-type-in-0-7/13075/1 "2018-08-09T09:48:41Z")

</div>

Typing: `? type` gives an error:

help?\> type  
ERROR: LoadError: Invalid [@var](https://github.com/var) syntax `incomplete: premature end of input` .  
Stacktrace:  
[1] error(::String) at ./error.jl:33  
[2] splitexpr(::Any) at ./docs/bindings.jl:28  
[3] bindingexpr(::Any) at ./docs/bindings.jl:17  
[4] lookup\_doc(::Expr) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/docview.jl:137  
[5] docm(::LineNumberNode, ::Module, ::Any) at ./docs/Docs.jl:501  
[6] [@doc](https://github.com/doc)(::LineNumberNode, ::Module, ::Expr, ::Vararg{Expr,N} where N) at ./boot.jl:451  
in expression starting at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/docview.jl:301

---

<div class="post-metadata">

**Author:** ![Gnimuc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gnimuc/32/2194_2.png) [@Gnimuc](https://discourse.julialang.org/u/Gnimuc)\
**Post date:** [August 9, 2018, 2:49pm UTC](https://discourse.julialang.org/t/help-type-in-0-7/13075/2 "2018-08-09T14:49:14Z")

</div>

that’s because `type` is a preserved word for defining `struct` in Julia-v0.6 and before, it was deprecated in Julia-v0.7, so in Julia-v1.0 there is no error:

```julia
help?> type
search: Type typeof typemin typemax TypeVar typejoin typeassert TypeError typeintersect oftype eltype valtype keytype subtypes fieldtype

Couldn't find type
Perhaps you meant Type, typeof, eltype, oftype, time, tuple, Pipe, typemax, typemin, keytype, valtype, try, take!, tan, tand, tanh or trues
  No documentation found.

  Binding type does not exist.

```

---

<div class="post-metadata">

**Author:** ![togo59](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/togo59/32/4138_2.png) [@togo59](https://discourse.julialang.org/u/togo59)\
**Post date:** [August 10, 2018, 1:16pm UTC](https://discourse.julialang.org/t/help-type-in-0-7/13075/3 "2018-08-10T13:16:22Z")

</div>

The point was that it produced `ERROR: LoadError: Invalid @var syntax incomplete: premature end of input . Stacktrace:` and not the message one normally gets. As you say, the same thing is fine in V1.0.0 and v0.6.4.

---

<div class="post-metadata">

**Author:** ![Gnimuc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gnimuc/32/2194_2.png) [@Gnimuc](https://discourse.julialang.org/u/Gnimuc)\
**Post date:** [August 10, 2018, 4:51pm UTC](https://discourse.julialang.org/t/help-type-in-0-7/13075/4 "2018-08-10T16:51:42Z")

</div>

I got the same error in v0.6.3:

```julia
  | | |_| | | | (_| | | Version 0.6.3 (2018-05-28 20:20 UTC)
 _/ |\ __'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-apple-darwin14.5.0

help?> type
ERROR: Invalid @var syntax `incomplete: premature end of input`.

help?> immutable
ERROR: Invalid @var syntax `incomplete: premature end of input`.

```

don’t know why Julia treats these two statements so special.
