KT-9500 Prohibit java.lang.Deprecated in completion + no duplicates for built-ins in completion

#KT-9500 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-10-09 12:47:26 +03:00
parent 7b2d63cfb9
commit 21b2631558
9 changed files with 84 additions and 17 deletions
@@ -0,0 +1,6 @@
@Dep<caret>
fun foo() { }
// INVOCATION_COUNT: 1
// EXIST: { itemText: "Deprecated", tailText: " (kotlin)" }
// NOTHING_ELSE
@@ -0,0 +1,8 @@
@Dep<caret>
fun foo() { }
// INVOCATION_COUNT: 2
// WITH_ORDER
// EXIST: { itemText: "Deprecated", tailText: " (kotlin)" }
// EXIST_JAVA_ONLY: { itemText: "Deprecated", tailText: " (java.lang)" }
// NOTHING_ELSE