Consider the following:
func test() -> Bool {
for count in 0..<100 {
return true
}
}
Missing return in a function expected to return 'Bool'. I do not see a case where the function will not return 'true', yet the code will not compile. Thoughts?