From 278f4f58b53a34e5c886720449b58dc2ca8842bc Mon Sep 17 00:00:00 2001 From: Meng-Ying Yang Date: Thu, 9 May 2019 11:19:50 +0800 Subject: core: vm: sqlvm: fix untyped enum --- core/vm/sqlvm/runtime/opcodes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/vm/sqlvm/runtime/opcodes.go b/core/vm/sqlvm/runtime/opcodes.go index e65565670..cd884350a 100644 --- a/core/vm/sqlvm/runtime/opcodes.go +++ b/core/vm/sqlvm/runtime/opcodes.go @@ -53,12 +53,12 @@ const ( // 0x50 range - function ops const ( - FUNC = iota + 0x50 + FUNC OpCode = iota + 0x50 ) // 0x60 range - storage ops const ( - INSERT = iota + 0x60 + INSERT OpCode = iota + 0x60 UPDATE LOAD DELETE -- cgit v1.2.3