Closed felixangell closed 8 years ago
If you were to pass generic parameters to a non generic function, it will panic when you create a new generic context here:
if len(parameters) != len(arguments) { panic("len(parameters) != len(arguments): " + fmt.Sprintf("%d != %d", len(parameters), len(arguments))) }
This would happen, for example, if you were to pass a parameter to the non-generic function rawAlloc.
rawAlloc
If you were to pass generic parameters to a non generic function, it will panic when you create a new generic context here:
This would happen, for example, if you were to pass a parameter to the non-generic function
rawAlloc
.