You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your feature request related to a problem? Please describe.
The innertypealias linter finds find a type which is an alias for exported same package's type:
package a
import"io"typeTinttypetinttypeA=T// want "A is a alias for T but it is exported type"typeB=t// OKtypeC= io.Writer// OKfunc_() {
typeD=T// OK
}
typeET// OKtypeFt// OKtypeg=t// OKtypeH=T// OK - it is used as an embedded fieldtype_struct{ H }
typeI=T// OK - it is used as an embedded fieldfunc_() {
type_struct{ I }
}
type_=T// OK
Your feature request related to a problem? Please describe.
The
innertypealias
linter finds find a type which is an alias for exported same package's type:https://github.com/gostaticanalysis/innertypealias
Describe the solution you'd like.
—
Describe alternatives you've considered.
—
Additional context.
No response
The text was updated successfully, but these errors were encountered: