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

Check type when resuming function #152

Merged
merged 3 commits into from
Jan 2, 2019

Conversation

eira-fransham
Copy link
Contributor

@eira-fransham eira-fransham commented Dec 11, 2018

Closes #150.

src/lib.rs Outdated Show resolved Hide resolved
FuncInvocationKind::Internal(ref mut interpreter) => {
if !interpreter.state().is_resumable() {
return Err(ResumableError::AlreadyStarted);
use crate::TrapKind;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh, this is a new keyword and apparently it doesn't require the 2018 edition. What is the version of a compiler is required in order to use this keyword?

Copy link
Contributor Author

@eira-fransham eira-fransham Dec 12, 2018

Choose a reason for hiding this comment

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

@pepyakin pepyakin merged commit 617be01 into wasmi-labs:master Jan 2, 2019
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