From 923d9f03fcc52076957a524d0d14155f794d8fdd Mon Sep 17 00:00:00 2001 From: Cuihtlauac ALVARADO Date: Tue, 23 Jan 2018 11:10:53 +0100 Subject: [PATCH] Update test results Separated issue reported: KT-22522 #KT-22369 Fixed --- .../platformTypes/commonSupertype/withNothing.kt | 2 +- .../platformTypes/commonSupertype/withNothing.txt | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/compiler/testData/diagnostics/tests/platformTypes/commonSupertype/withNothing.kt b/compiler/testData/diagnostics/tests/platformTypes/commonSupertype/withNothing.kt index a872501ef6b..5530b81fb4b 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/commonSupertype/withNothing.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/commonSupertype/withNothing.kt @@ -23,5 +23,5 @@ fun out(t: T): Out> = null!! fun test(a: Out, b: Out>) { val v = f(a, b, out(J.j())) v checkType { _>() } - v checkType { _>() } + v checkType { _>() } } \ No newline at end of file diff --git a/compiler/testData/diagnostics/tests/platformTypes/commonSupertype/withNothing.txt b/compiler/testData/diagnostics/tests/platformTypes/commonSupertype/withNothing.txt index 2a802f90cc9..0142dd2c3dd 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/commonSupertype/withNothing.txt +++ b/compiler/testData/diagnostics/tests/platformTypes/commonSupertype/withNothing.txt @@ -9,3 +9,16 @@ public interface Out { public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } + +package p { + + public open class J { + public constructor J() + public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + + // Static members + public open fun j(): p.J! + } +}