Stream: helpdesk (published)

Topic: ✔ JET: Specifying JETAnalyzer or OptAnalyzer option gone?


view this post on Zulip Jesper Stemann Andersen (Apr 19 2023 at 10:15):

Was the configuration keyword argument analyzer removed from JET.jl at some point? I last saw it (functional) in v0.6.9 - on Julia v1.8.2.

This used to work:

using JET
using Pkg

analysis_target = Pkg.project().name
JET.report_package(analysis_target; analyzer = JET.JETAnalyzer, mode = :basic, target_defined_modules = false)

view this post on Zulip Jesper Stemann Andersen (Apr 19 2023 at 10:50):

It's still mentioned in the docs.: https://aviatesk.github.io/JET.jl/dev/optanalysis/#optanalysis-toplevel-entry

view this post on Zulip Jesper Stemann Andersen (Apr 19 2023 at 11:29):

This was removed with v0.7.0:

julia --project=`mktemp -d` --eval 'using Pkg; Pkg.add(name = "JET", version = "0.7.0"); Pkg.add("Example"); using JET; JET.report_package("Example"; analyzer = JET.JETAnalyzer)'

view this post on Zulip Jesper Stemann Andersen (Apr 23 2023 at 11:09):

Solution: https://github.com/aviatesk/JET.jl/issues/494#issuecomment-1515858865

view this post on Zulip Notification Bot (Apr 23 2023 at 11:09):

Jesper Stemann Andersen has marked this topic as resolved.


Last updated: Nov 22 2024 at 04:41 UTC