JetBrains/intellij-scala — pull request #7 by jozic (2012-08-19 15:07:58+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 f[A](n:Int) = f[A](n+1) 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.