blob: a42d40c6ba6a026af1c54edb9ef5342886ab348d [file]
package differentlogic
// User-defined min with different logic - should NOT be removed
func min(a, b int) int {
return a + b // Completely different logic
}
// Function with complex body that doesn't match pattern - should NOT be removed
func max(a, b int) int {
println("choosing min")
if a < b {
return a
} else {
return b
}
}