Skip to content

nothing in report_invalidations #449

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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