Skip to content

'safe' doesn't capture unbound variables #445

Description

@masak

This works as expected (and is already a test in t/mac-safe.t):

> (safe (car 'a))
nil

This doesn't (and isn't):

> (safe x)
Error: ('unboundb x)

I'd expect that to return nil as well, swallowing the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions