Smart completion: declarations of type Nothing filtered out

This commit is contained in:
Valentin Kipyatkov
2013-11-27 13:14:16 +04:00
parent 1bde5a90a4
commit 912fb904b8
3 changed files with 9 additions and 0 deletions
@@ -0,0 +1,11 @@
fun fail() : Nothing{
throw RuntimeException()
}
fun f(p : String) {
var a : String = <caret>
}
// EXIST: p
// ABSENT: fail
// ABSENT: error