VarianceChecker: correct handing of nested classes and their methods #KT-14733 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-11-16 21:43:20 +03:00
parent 1954cffd01
commit 14787e3583
2 changed files with 27 additions and 5 deletions
@@ -0,0 +1,16 @@
abstract class TestOut<T> {
abstract fun test(): T
abstract inner class InnerTest {
abstract fun innerTest(test: T)
}
}
abstract class TestIn<T> {
abstract fun test(test: T)
abstract inner class InnerTest {
abstract fun innerTest(): T
}
}