compiler: push additional type data into the bindings file
Structures/arrays and maps.
This commit is contained in:
parent
027e94fbde
commit
b9d20b32e9
5 changed files with 168 additions and 62 deletions
|
@ -914,7 +914,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, false)
|
||||
st, _, _, _ := scAndVMInteropTypeFromExpr(tn, false)
|
||||
expectedLen := -1
|
||||
switch st {
|
||||
case smartcontract.Hash160Type:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue