I got the same error in v0.6.3:
| | |_| | | | (_| | | 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.