We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f10a8 commit 8a4e258Copy full SHA for 8a4e258
types/types.go
@@ -246,7 +246,7 @@ func (i *Info) Instantiate(o Info) bool {
246
return true
247
248
case TPtr:
249
- if o.ElementType.Type != TArray {
+ if !o.ElementType.Type.Array() {
250
return false
251
}
252
// Instantiating array from pointer to array
@@ -272,7 +272,7 @@ func (i *Info) Instantiate(o Info) bool {
272
// Instantiating slice from an array. Continue below.
273
274
275
276
277
278
// Instantiating slice from pointer to array
0 commit comments