After successfully creating a Julia webserver (similar to the rest example with the post routes) with this great package, I tried to precompile my code within a module.
WARNING: eval into closed module Routing:
Expr(:call, :route, Expr(:::, Expr(:curly, :Val, Expr(:call, :Symbol, "POST"))), Expr(:::, Expr(:curly, :Val, Expr(:call, :Symbol, Base.SubString{String}(string="dyson/loadportfolio", offset=0, ncodeunits=5)))), Expr(:::, Expr(:curly, :Val, Expr(:call, :Symbol, Base.SubString{String}(string="dyson/loadportfolio", offset=6, ncodeunits=13))))) = Expr(:block, #= Symbol("C:\Users\UELIWECH\.julia\packages\Bukdu\YIeiP\src\Routing.jl"):58 =#, Expr(:call, :Route, DJSON.MicroServices.MicroServiceController, typeof(DJSON.MicroServices.load_portfolio_service)(), Base.Dict{Symbol, DataType}(slots=Array{UInt8, (16,)}[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00], keys=Array{Symbol, (16,)}[#<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>], vals=Array{DataType, (16,)}[#<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>, #<null>], ndel=0, count=0, age=0x0000000000000000, idxfloor=1, maxprobe=0), Expr(:call, Expr(:curly, :Vector, Expr(:curly, :Pair, :String, :Any))), Array{Any, (0,)}[]))
** incremental compilation may be fatally broken for this module **
I will have a closer look over the weekend. But if you already have any idea how to fix this, help would be much appreciated. I can also provide my source code if this error cannot be reproduced.
After successfully creating a Julia webserver (similar to the rest example with the post
routes) with this great package, I tried to precompile my code within a module.But the precompilation failed with this error message:
I assume that it has to do with the scope of
@eval. Possibly here:Bukdu.jl/src/Routing.jl
Line 58 in 4e66675
I will have a closer look over the weekend. But if you already have any idea how to fix this, help would be much appreciated. I can also provide my source code if this error cannot be reproduced.