Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sbinet opened this issue Mar 9, 2018 · 0 comments
Open

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

sbinet opened this issue Mar 9, 2018 · 0 comments

Comments

@sbinet
Copy link
Collaborator

sbinet commented Mar 9, 2018

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
$>  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant