Skip to content

Correctly handle a SystemExit unwound to the top level of execution #1459

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

Merged
merged 2 commits into from
Oct 5, 2019

Conversation

coolreader18
Copy link
Member

No description provided.

println!("{}", s);
}
}),
_ => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this arm same to print!("{}", vm.to_str(&args))?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I think I was trying to emulate code from exceptions.rs but it's just the str of it I guess.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it's the repr of the args tuple.

@youknowone youknowone requested a review from palaviv October 5, 2019 07:23
@coolreader18 coolreader18 merged commit 867c91b into master Oct 5, 2019
@coolreader18 coolreader18 deleted the coolreader18/sysexit branch October 26, 2019 20:46
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

Successfully merging this pull request may close these issues.

2 participants