Added VM testing tool

This commit is contained in:
obscuren
2014-11-10 11:47:37 +01:00
parent cbeebcd47d
commit d30571a7a8
3 changed files with 128 additions and 2 deletions

View File

@@ -50,8 +50,7 @@ func (self *DebugVm) RunClosure(closure *Closure) (ret []byte, err error) {
ret = closure.Return(nil)
err = fmt.Errorf("%v", r)
// No error should be set. Recover is used with require
// Is this too error prone?
}
}()
}