Redundant Unit: fix false positive when return type is nullable Unit

#KT-30038 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-02-21 19:40:02 +09:00
committed by Mikhail Glukhikh
parent d67c793a9b
commit df3953f03a
3 changed files with 12 additions and 1 deletions
@@ -0,0 +1,5 @@
// PROBLEM: none
fun foo(): Unit? {
return Unit<caret>
}