compiler: drop unused call results

Close #683.
This commit is contained in:
Evgenii Stratonikov 2020-08-24 18:37:39 +03:00
parent f70cb4f34a
commit e58616b975
4 changed files with 80 additions and 15 deletions

View file

@ -32,12 +32,6 @@ func runTestCases(t *testing.T, tcases []testCase) {
}
}
func evalWithoutStackChecks(t *testing.T, src string, result interface{}) {
v := vmAndCompile(t, src)
require.NoError(t, v.Run())
assertResult(t, v, result)
}
func eval(t *testing.T, src string, result interface{}) {
vm := vmAndCompile(t, src)
err := vm.Run()