-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
Details
- Julia version: 1.2.0
- Atom version: 1.40.1
- OS: Windows 10 v1809 build 17763.737
Package versions:
- julia-client: 0.10.1
- ink: 0.11.0
Replication:
- Ensure the REPL is running in Atom
- Open a blank .jl file
- Enter
import Base.+(or *, -, /, ^ etc) - Wait a few seconds, it doesn't always appear instantly.
The result I get is this error:
Julia Client – Internal Error
MethodError: no method matching Tokenize.Tokens.RawToken(::Tokenize.Tokens.Kind, ::Tuple{Int64,Int64}, ::Tuple{Int64,Int64}, ::Int64, ::Int64, ::Tokenize.Tokens.TokenError, ::Bool)
Closest candidates are:
Tokenize.Tokens.RawToken(::Tokenize.Tokens.Kind, ::Tuple{Int64,Int64}, ::Tuple{Int64,Int64}, ::Int64, ::Int64, ::Tokenize.Tokens.TokenError, ::Bool, !Matched::Bool) at C:\Users\<username>\.julia\packages\Tokenize\xA1lh\src\token.jl:70
Tokenize.Tokens.RawToken(::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, !Matched::Any) at C:\Users\<username>o\.julia\packages\Tokenize\xA1lh\src\token.jl:70
Tokenize.Tokens.RawToken(::Tokenize.Tokens.Kind, ::Tuple{Int64,Int64}, ::Tuple{Int64,Int64}, ::Int64, ::Int64) at C:\Users\<username>\.julia\packages\Tokenize\xA1lh\src\token.jl:82
parse_dot_mod(::CSTParser.ParseState, ::Bool) at internals.jl:358
parse_dot_mod(::CSTParser.ParseState) at internals.jl:311
parse_imports(::CSTParser.ParseState) at keywords.jl:146
parse_kw(::CSTParser.ParseState) at keywords.jl:27
parse_expression(::CSTParser.ParseState) at CSTParser.jl:57
parse_doc(::CSTParser.ParseState) at CSTParser.jl:199
parse(::CSTParser.ParseState, ::Bool) at CSTParser.jl:220
parse at CSTParser.jl:175 [inlined]
locals(::String, ::Int64, ::Int64) at outline.jl:134
basecompletionadapter(::String, ::Module, ::Bool, ::Int64, ::Int64, ::String) at completions.jl:52
(::getfield(Atom, Symbol("##213#215")){String,String,Int64,Int64,Int64,String,Bool})() at completions.jl:13
withpath(::getfield(Atom, Symbol("##213#215")){String,String,Int64,Int64,Int64,String,Bool}, ::String) at utils.jl:30
withpath(::Function, ::String) at eval.jl:46
(::getfield(Atom, Symbol("##212#214")))(::Dict{String,Any}) at completions.jl:10
handlemsg(::Dict{String,Any}, ::Dict{String,Any}) at comm.jl:164
(::getfield(Atom, Symbol("##19#21")){Array{Any,1}})() at task.jl:268
The message repeats whenever the file is modified.
The error does not appear to occur for using .+ etc in other contexts, e.g. broadcasting to an array.
Metadata
Metadata
Assignees
Labels
No labels