Redundant Unit: fix false positive when return type is nullable Unit
#KT-30038 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
d67c793a9b
commit
df3953f03a
+5
@@ -0,0 +1,5 @@
|
||||
// PROBLEM: none
|
||||
|
||||
fun foo(): Unit? {
|
||||
return Unit<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user