KT-6122 Code completion in when in enum extension methods suggests non-qualified enum entry names

#KT-6122 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-12-23 15:20:04 +03:00
parent 49b36cc942
commit 91220faf06
5 changed files with 48 additions and 3 deletions
@@ -0,0 +1,11 @@
enum class E {
A
B
}
fun E.foo() {
<caret>
}
// ABSENT: A
// ABSENT: B
@@ -0,0 +1,11 @@
class Outer {
class Nested
inner class Inner
}
fun Outer.foo() {
<caret>
}
// ABSENT: Nested
// ABSENT: Inner