Highlighting ranges should never include comments before/after element

This commit is contained in:
Valentin Kipyatkov
2014-10-31 14:24:13 +03:00
parent f0b93f3de3
commit 0806de6782
8 changed files with 33 additions and 20 deletions
@@ -1,5 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
<!NO_TAIL_CALLS_FOUND!>tailRecursive fun foo()<!> {
bar {
<!NON_TAIL_RECURSIVE_CALL!>foo<!>()