Add line marker test for type aliases #KT-20164 Fixed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user