mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-05-28 07:01:37 +00:00
Fixes
This commit is contained in:
parent
93b61bc2dc
commit
9c442f6be1
@ -2,6 +2,7 @@
|
||||
|
||||
use std::any::TypeId;
|
||||
use validation;
|
||||
use common;
|
||||
|
||||
/// Custom user error.
|
||||
pub trait UserError: 'static + ::std::fmt::Display + ::std::fmt::Debug {
|
||||
@ -123,8 +124,8 @@ impl From<validation::Error> for Error {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<::common::stack::Error> for Error {
|
||||
fn from(e: ::common::stack::Error) -> Self {
|
||||
impl From<common::stack::Error> for Error {
|
||||
fn from(e: common::stack::Error) -> Self {
|
||||
Error::Stack(e.to_string())
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ use interpreter::value::{
|
||||
};
|
||||
use interpreter::variable::VariableInstance;
|
||||
use common::{DEFAULT_MEMORY_INDEX, DEFAULT_TABLE_INDEX, BlockFrame, BlockFrameType};
|
||||
use common::stack::{StackWithLimit};
|
||||
use common::stack::StackWithLimit;
|
||||
|
||||
/// Function interpreter.
|
||||
pub struct Interpreter;
|
||||
|
Loading…
x
Reference in New Issue
Block a user