@@ -55,8 +55,8 @@ func TestTypeRegexp(t *testing.T) {
5555 {"string[]" , Type {IsSlice : true , SliceSize : - 1 , Kind : reflect .String , T : StringTy , Size : - 1 , Elem : & Type {Kind : reflect .String , T : StringTy , Size : - 1 , stringKind : "string" }, stringKind : "string[]" }},
5656 {"string[2]" , Type {IsArray : true , SliceSize : 2 , Kind : reflect .String , T : StringTy , Size : - 1 , Elem : & Type {Kind : reflect .String , T : StringTy , Size : - 1 , stringKind : "string" }, stringKind : "string[2]" }},
5757 {"address" , Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }},
58- {"address[]" , Type {IsSlice : true , SliceSize : - 1 ,Kind : reflect .Array , Type :address_t , T : AddressTy , Size :20 , Elem : & Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }, stringKind : "address[]" }},
59- {"address[2]" , Type {IsArray : true , SliceSize : 2 ,Kind : reflect .Array , Type :address_t , T : AddressTy , Size :20 , Elem : & Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }, stringKind : "address[2]" }},
58+ {"address[]" , Type {IsSlice : true , SliceSize : - 1 , Kind : reflect .Array , Type : address_t , T : AddressTy , Size : 20 , Elem : & Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }, stringKind : "address[]" }},
59+ {"address[2]" , Type {IsArray : true , SliceSize : 2 , Kind : reflect .Array , Type : address_t , T : AddressTy , Size : 20 , Elem : & Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }, stringKind : "address[2]" }},
6060
6161 // TODO when fixed types are implemented properly
6262 // {"fixed", Type{}},
0 commit comments