compiler/interop: replace int64
with int
This commit is contained in:
parent
1138143a50
commit
d66ce43239
4 changed files with 12 additions and 12 deletions
|
@ -40,7 +40,7 @@ func TestByteConstant(t *testing.T) {
|
|||
src := `package foo
|
||||
import "github.com/nspcc-dev/neo-go/pkg/interop/convert"
|
||||
const a byte = 0xFF
|
||||
func Main() int64 {
|
||||
func Main() int {
|
||||
x := convert.ToInteger(a)
|
||||
return x+1
|
||||
}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue