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
@@ -19,7 +19,7 @@ expect class C3<D, E : D>
^
compiler/testData/multiplatform/incompatibleClasses/common.kt:18:16: error: expected class 'C4' has no actual declaration in module
The following declaration is incompatible because upper bounds of type parameters are different:
public typealias C4<F> = C4Impl<F>
public actual typealias C4<F> = C4Impl<F>
expect class C4<F>
^