Hacker News new | ask | show | jobs
by yarg 1221 days ago
Codesmell sure - and a case for refactoring, but I wouldn't go as far as to say bug.

But I wouldn't expect that to be the common use case - I'd generally expect that the caller would just be implicitly importing and using the type effectively declared in the method header.