Add line marker test for type aliases #KT-20164 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-10-09 14:35:18 +03:00
parent eec8be2c21
commit b5e2fa5f94
5 changed files with 30 additions and 0 deletions
@@ -0,0 +1,5 @@
// !CHECK_HIGHLIGHTING
expect class TypeAlias {
val x: String
}
@@ -0,0 +1,6 @@
class Some {
val x: String = "Some"
}
actual typealias <lineMarker>TypeAlias</lineMarker> = Some
@@ -0,0 +1,3 @@
expect class <lineMarker>TypeAlias</lineMarker> {
val x: String
}
@@ -0,0 +1,8 @@
// !CHECK_HIGHLIGHTING
class Some {
val x: String = "Some"
}
actual typealias TypeAlias = Some