Properly determine what classes to show in Kotlin completion:

Classes like Int and jet.Iterable should are not visible from Java
since they are erased at runtime. We call such classes non-physical,
they have to be added to completion manually.`
This commit is contained in:
Andrey Breslav
2012-10-18 17:20:23 +04:00
parent 6f4902bfbe
commit a7b6b34e29
5 changed files with 65 additions and 24 deletions
@@ -4,5 +4,6 @@ class Test {
}
}
// RUNTIME: 1
// EXIST: Any, Nothing, Tuple0, Int, Number
// EXIST: Array, Math, Hashable, OutputStream
@@ -3,5 +3,6 @@ class Test : <caret> {
}
}
// RUNTIME: 1
// EXIST: Any, Nothing, Tuple0, Int, Number
// EXIST: Array, Math, Hashable, OutputStream