Skip to content

make_func_ptr, or evaluating a global name, without GLOBALS(gv) #848

@andrew-appel

Description

@andrew-appel

Trying to execute the tactic make_func_ptr _foo for extern function foo, without a GLOBALS(gv) in the current funspec, leads to a not-very-useful error message.

Same for evaluating &_foo or _foo without GLOBALS(gv).

TODO: detect this and improve the error message.

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