Merge branch 'master' into trace-issue

This commit is contained in:
Mark McCaskey
2020-06-09 14:42:01 -07:00
48 changed files with 1854 additions and 408 deletions

View File

@@ -331,7 +331,7 @@ impl std::fmt::Debug for Function {
}
}
/// This trait is one that all dynamic funcitons must fulfill.
/// This trait is one that all dynamic functions must fulfill.
trait VMDynamicFunction {
fn call(&self, args: &[Val]) -> Result<Vec<Val>, RuntimeError>;
fn function_type(&self) -> &FunctionType;