compiler: emit bindings configuration
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
42c1e8b0e3
commit
a2cef15932
7 changed files with 273 additions and 58 deletions
|
@ -855,7 +855,7 @@ func (c *codegen) Visit(node ast.Node) ast.Visitor {
|
|||
c.convertMap(n)
|
||||
default:
|
||||
if tn, ok := t.(*types.Named); ok && isInteropPath(tn.String()) {
|
||||
st, _ := scAndVMInteropTypeFromExpr(tn)
|
||||
st, _, _ := scAndVMInteropTypeFromExpr(tn, false)
|
||||
expectedLen := -1
|
||||
switch st {
|
||||
case smartcontract.Hash160Type:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue