Have to get into JET etc. a bit. For now I just use the jq-1.0
branch (a complete better rewrite) of JSON.jl. Having a JSON interface is the first step I need to take.
There’s a long output of @report_opt
, it’s quite deeply nested, and all actual “runtime dispatch” errors are 1-5 levels below this:
││││││││││┌ print(io::IOBuffer, x::Type) @ Base ./strings/io.jl:35
│││││││││││┌ show(io::IOBuffer, x::Type) @ Base ./show.jl:968
Now it’s a bit hard for me to understand. First, I don’t print/show anything in my function I want to compile. Second, if the problem is in Base
, it’s probably a long way (up to impossible) for me to “fix”, right?
EDIT: FYI, I gave juliac --trim
a try anyway, and both on nightly
and rc
I get something around 100 trim-verify errors.