vm/emit: emit Boolean values correctly
We should convert both `true` and `false` values.
This commit is contained in:
parent
3e54b46ffb
commit
55009153a9
9 changed files with 39 additions and 20 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue