inspection request

i often name my type parameters T

and sometimes, this happens:
class[T](x:T) {
def method[T](t:T):T {.... return x}
}

and i get some funny error that T is not T.
it would be nice if there was an inspection telling me that name shadowing is waiting for me to mess up.

0

Done (only type parameters shadowed by other type parameters). Thank you for suggestion.
For feature requests, it's also better to use our issue tracker.

Best regards,
Alexander Podhalyuzin.

0

yes, i know. i have been lazy. i will put the next feature request into youtrack twice to make up for it.

0

请先登录再写评论。