Inferred return for guard statement