Shorten references tests for typealias.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
class WithCtor(val x: Int)
|
||||
|
||||
typealias Alias = WithCtor
|
||||
|
||||
val x = <selection>test.Alias(1)</selection>
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
class WithCtor(val x: Int)
|
||||
|
||||
typealias Alias = WithCtor
|
||||
|
||||
val x = Alias(1)
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
class WithCompanion {
|
||||
companion object
|
||||
}
|
||||
|
||||
typealias Alias = WithCompanion
|
||||
|
||||
val x = <selection>test.Alias</selection>
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
class WithCompanion {
|
||||
companion object
|
||||
}
|
||||
|
||||
typealias Alias = WithCompanion
|
||||
|
||||
val x = Alias
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
typealias Str = String
|
||||
|
||||
val s: <selection>test.Str</selection> = ""
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
typealias Str = String
|
||||
|
||||
val s: Str = ""
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
typealias Str = String
|
||||
|
||||
fun foo(s: <selection>List<test.Str></selection>) {}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
typealias Str = String
|
||||
|
||||
fun foo(s: List<Str>) {}
|
||||
Reference in New Issue
Block a user