From 93b27417afe40824410a6b99aed1c27cee531303 Mon Sep 17 00:00:00 2001 From: Stanislav Erokhin Date: Wed, 8 Jun 2016 19:53:28 +0300 Subject: [PATCH] Minor. update testdata. --- .../tests/typealias/isAsWithTypeAlias.txt | 2 +- .../tests/typealias/typeAliasShouldExpandToClass.txt | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/compiler/testData/diagnostics/tests/typealias/isAsWithTypeAlias.txt b/compiler/testData/diagnostics/tests/typealias/isAsWithTypeAlias.txt index cb951ee7162..3ec3a2794ff 100644 --- a/compiler/testData/diagnostics/tests/typealias/isAsWithTypeAlias.txt +++ b/compiler/testData/diagnostics/tests/typealias/isAsWithTypeAlias.txt @@ -3,4 +3,4 @@ package public typealias S = kotlin.String public fun test1(/*0*/ x: kotlin.Any): kotlin.Boolean public fun test2(/*0*/ x: kotlin.Any): S [= kotlin.String] -public fun test3(/*0*/ x: kotlin.Any): S [= kotlin.String?] +public fun test3(/*0*/ x: kotlin.Any): S? [= kotlin.String?] diff --git a/compiler/testData/diagnostics/tests/typealias/typeAliasShouldExpandToClass.txt b/compiler/testData/diagnostics/tests/typealias/typeAliasShouldExpandToClass.txt index 51c73fefa46..ac30d89cd2f 100644 --- a/compiler/testData/diagnostics/tests/typealias/typeAliasShouldExpandToClass.txt +++ b/compiler/testData/diagnostics/tests/typealias/typeAliasShouldExpandToClass.txt @@ -3,15 +3,15 @@ package public typealias ToFun1 = () -> kotlin.Unit public typealias ToFun2 = (T) -> kotlin.Unit public typealias ToTypeParam1 = T -public typealias ToTypeParam2 = ToTypeParam1 -public typealias ToTypeParam3 = ToTypeParam2 -public typealias ToTypeParam4 = ToTypeParam1 +public typealias ToTypeParam2 = ToTypeParam1 [= T] +public typealias ToTypeParam3 = ToTypeParam2 [= T1] +public typealias ToTypeParam4 = ToTypeParam1 [= kotlin.Any] public final class Outer { public typealias ToTypeParam1 = T - public typealias ToTypeParam2 = Outer.ToTypeParam1 - public typealias ToTypeParam3 = Outer.ToTypeParam2 - public typealias ToTypeParam4 = Outer.ToTypeParam1 + public typealias ToTypeParam2 = Outer.ToTypeParam1 [= T] + public typealias ToTypeParam3 = Outer.ToTypeParam2 [= T1] + public typealias ToTypeParam4 = Outer.ToTypeParam1 [= kotlin.Any] public constructor Outer() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int