-
-
Notifications
You must be signed in to change notification settings - Fork 19
valast: remove redundant type #18
Copy link
Copy link
Open
Labels
Description
Description
One of the built-in Goland linter gives warning about the redundant type.
It would be nice if the generated result doesn't contain redundant fields.
Help the code become cleaner.
Problem
Redundant type
Inspection info: Reports redundant types in composite literals.
For example:
[][]int{[]int{1}, []int{2}}
can be simplified to:
[][]int {{1}, {2}}
.
Example in Goland
Reactions are currently unavailable
