KT-1293 Kompiler doesn't show error when element of Array<Int?> is assigned to Int
This commit is contained in:
@@ -17,7 +17,6 @@ fun hasDuplicates(a : IntArray) : Boolean {
|
||||
break@loop
|
||||
}
|
||||
}
|
||||
return a[i]
|
||||
}
|
||||
return duplicate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user