KT-9500 Prohibit java.lang.Deprecated in completion + no duplicates for built-ins in completion
#KT-9500 Fixed
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user