Workaround for KtEnumEntrySuperclassReferenceExpression which implements KtSimpleNameExpression in a weird way and can break Move refactoring (EA-75268 - assert: TextRange.<init>)

This commit is contained in:
Dmitry Jemerov
2016-01-13 16:37:19 +01:00
parent c1dbfee2a9
commit 8fdd8179b9
3 changed files with 15 additions and 2 deletions
@@ -35,4 +35,8 @@ var Test.TEST: String
a.FOO = value
FOO = value
c.FOO = value
}
}
enum class My(val x: Int) {
FIRST(4)
}
@@ -35,4 +35,8 @@ var Test.TEST: String
FOO = value
b.FOO = value
c.FOO = value
}
}
enum class My(val x: Int) {
FIRST(4)
}