Fix rendering of type aliases

- render 'actual' modifier if it's present
- do not render a space after type parameter list
This commit is contained in:
Alexander Udalov
2018-01-22 13:07:57 +01:00
parent e0245a9dc7
commit 71fe8c02a3
69 changed files with 165 additions and 164 deletions
@@ -4,4 +4,4 @@ public typealias Dyn = [ERROR : dynamic type in wrong context]
public typealias Dyn2 = Dyn
public typealias Dyn3 = Dyn2
public typealias Dyn4 = Type<Dyn>
public typealias Type</*0*/ T> = T
public typealias Type</*0*/ T> = T
@@ -18,7 +18,7 @@ public fun useAnnGen2(/*0*/ x: TestAnnGen2 /* = kotlin.collections.List<dynamic>
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
public typealias AnnGenList</*0*/ T> = kotlin.collections.List<@Ann1 T>
public typealias AnnGenList</*0*/ T> = kotlin.collections.List<@Ann1 T>
public typealias TestAnnGen1 = AnnGenList<dynamic>
public typealias TestAnnGen2 = AnnGenList<dynamic>
public typealias TestAnnGen3 = AnnGenList<dynamic>
@@ -4,7 +4,7 @@ public fun testUseGen1(/*0*/ x: kotlin.collections.List<dynamic>): TestGen1 /* =
public fun testUseGen2(/*0*/ x: kotlin.collections.List<kotlin.collections.List<dynamic>>): TestGen2 /* = kotlin.collections.List<kotlin.collections.List<dynamic>> */
public fun useGen1(/*0*/ x: TestGen1 /* = kotlin.collections.List<dynamic> */): TestGen1 /* = kotlin.collections.List<dynamic> */
public fun useGen2(/*0*/ x: TestGen2 /* = kotlin.collections.List<kotlin.collections.List<dynamic>> */): TestGen2 /* = kotlin.collections.List<kotlin.collections.List<dynamic>> */
public typealias GenList</*0*/ T> = kotlin.collections.List<T>
public typealias GenList</*0*/ T> = kotlin.collections.List<T>
public typealias Test1 = kotlin.collections.List<dynamic>
public typealias Test2 = (dynamic) -> dynamic
public typealias TestGen1 = GenList<dynamic>