Open erikdubbelboer opened 6 years ago
When a type is a slice of another type we should use the type name itself and not a slice of the elements of the slice.
Fixes #243
Can you add a test case for this?
@pquerna I have added a test. Without my change the test will fail with:
cannot use &[]IntType literal (type *[]IntType) as type *NamedSlice in assignment
When a type is a slice of another type we should use the type name itself and not a slice of the elements of the slice.
Fixes #243