JetBrains/intellij-scala — pull request #8 by jozic (2012-08-19 16:01:23+00:00)
Title: fix tailrec for function with type params and add test for getUsageReturns

Hi There,
This is one more fix for tailrec identification.
Currently fA = fA is not considered as tailrec b/c of type parameter, this patch fixes that.
Also my previous commit broke getReturnUsages method, so I've added a simple test to prevent that.
Please review.
I will be glad to change the code if you think it's needed.