Skip to content

nothing in report_invalidations #449

@schillic

Description

@schillic

The julia-invalidations script currently crashes.

ERROR: LoadError: FieldError: type Nothing has no field `name`; Nothing has no fields at all.
Stacktrace:
  [1] getproperty
    @ ./Base_compiler.jl:54 [inlined]
  [2] #12
    @ ~/.julia/packages/SnoopCompile/sSjKE/ext/SCPrettyTablesExt.jl:35 [inlined]

I think the problem is the same as in #447: inv.method below can be nothing.

meth_name = map(trees) do inv
"$(inv.method.name)"
end
fileinfo = map(trees) do inv
"$(process_filename(string(inv.method.file))):$(inv.method.line)"
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions