vm/emit: emit Boolean values correctly

We should convert both `true` and `false` values.
This commit is contained in:
Evgeniy Stratonikov 2021-03-09 13:17:21 +03:00
parent 3e54b46ffb
commit 55009153a9
9 changed files with 39 additions and 20 deletions

View file

@ -46,7 +46,7 @@ func TestMultipleDirFileImport(t *testing.T) {
return ok
}
`
eval(t, src, big.NewInt(1))
eval(t, src, true)
}
func TestImportNameSameAsOwn(t *testing.T) {