Support for generic classes in quickfix for NOTHING_TO_OVERRIDE

This commit is contained in:
Michał Sapalski
2013-03-02 15:08:00 +01:00
committed by Andrey Breslav
parent d4fc814d76
commit cacb4b26e4
8 changed files with 56 additions and 7 deletions
@@ -0,0 +1,8 @@
// "Change function signature to 'override fun f(y: S, x: List<Set<R>>)'" "true"
trait A<P,Q> {
fun f(a: Q, b: List<Set<P>>)
}
class B<R,S> : A<R,S> {
<caret>override fun f(x: List<Set<R>>, y: S) {}
}