Refine types of type parameters before checking their equality in OverridingUtil

This commit is contained in:
Dmitry Savvinov
2020-09-25 13:25:51 +03:00
parent 80f4061a3d
commit ac107f362e
3 changed files with 40 additions and 21 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
actual typealias Expect = String
interface Derived : Base {
override fun expectInReturnType(): <!RETURN_TYPE_MISMATCH_ON_OVERRIDE!>Expect<!>
override fun expectInReturnType(): Expect
override fun expectInArgument(e: Expect)