-
-
Notifications
You must be signed in to change notification settings - Fork 424
Closed
Description
I have code in IJulia (julia version 1.1.1) that looks like this
include("jlib.jl");In IJulia I get the following stack trace
syntax: invalid "::" syntax
Stacktrace:
[1] include at ./boot.jl:326 [inlined]
[2] include_relative(::Module, ::String) at ./loading.jl:1038
[3] include(::Module, ::String) at ./sysimg.jl:29
[4] include(::String) at ./client.jl:403
[5] top-level scope at In[1]:1
This isn't helpful as it doesn't tell me where my error is. Running julia proper on jlib.jl I get the following
$ ./julia/julia jlib.jl
ERROR: LoadError: syntax: invalid "::" syntax
Stacktrace:
[1] include at ./boot.jl:326 [inlined]
[2] include_relative(::Module, ::String) at ./loading.jl:1038
[3] include(::Module, ::String) at ./sysimg.jl:29
[4] exec_options(::Base.JLOptions) at ./client.jl:267
[5] _start() at ./client.jl:436
in expression starting at /mnt/Data/git/LBL19/jlib.jl:61
Metadata
Metadata
Assignees
Labels
No labels