Skip to content

ng/eval: run top-level defers before exiting interpreter #238

@sbinet

Description

@sbinet

with #218 merged in, we still need to have the top-level defers run before properly closing/exiting the interpreter.

Right now, we get this:

$> ng
ng> defer printf("hello\n")
ng> ^D
$>  

whereas, it should be:

$> ng
ng> defer printf("hello\n")
ng> ^D
hello
$>  

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