Minor: Add tests for KT-13759

This commit is contained in:
Alexey Sedunov
2016-09-15 15:32:00 +03:00
parent 4313f249a4
commit 6e8bcb987a
12 changed files with 89 additions and 1 deletions
@@ -0,0 +1,9 @@
package test
object OOO
typealias AliasNew = OOO
fun f() {
AliasNew
val a: AliasNew
}
@@ -0,0 +1,9 @@
package test
object OOO
typealias /*rename*/Alias = OOO
fun f() {
Alias
val a: Alias
}
@@ -0,0 +1,6 @@
{
"type": "MARKED_ELEMENT",
"mainFile": "test/test.kt",
"newName": "AliasNew",
"withRuntime": "true"
}
@@ -0,0 +1,9 @@
package test
object OOO
typealias AliasNew = OOO
fun f() {
AliasNew
val a: AliasNew
}
@@ -0,0 +1,9 @@
package test
object OOO
typealias Alias = OOO
fun f() {
/*rename*/Alias
val a: Alias
}
@@ -0,0 +1,7 @@
{
"type": "MARKED_ELEMENT",
"mainFile": "test/test.kt",
"newName": "AliasNew",
"byRef": "true",
"withRuntime": "true"
}