A bit more correct fix of KT-14665

This commit is contained in:
Valentin Kipyatkov
2017-07-26 17:04:04 +03:00
parent 3ff5c95419
commit 44dafc38e5
11 changed files with 161 additions and 42 deletions
+28
View File
@@ -0,0 +1,28 @@
fun foo(p: Int) {
if (p > 0)
foo()
<caret>
}
// EXIST: else
// EXIST: class
// EXIST: do
// EXIST: false
// EXIST: for
// EXIST: fun
// EXIST: if
// EXIST: null
// EXIST: object
// EXIST: return
// EXIST: super
// EXIST: throw
// EXIST: interface
// EXIST: true
// EXIST: try
// EXIST: val
// EXIST: var
// EXIST: when
// EXIST: while
// EXIST: typealias
// EXIST: as
// NOTHING_ELSE