llgo/ssa: Slice, IndexAddr bugfix

This commit is contained in:
xushiwei
2024-04-30 16:15:36 +08:00
parent 02afd1d73a
commit 40a9e00d4c
6 changed files with 37 additions and 12 deletions

View File

@@ -140,8 +140,7 @@ func Do(args []string, conf *Config) {
}
}
if nErr > 0 {
fmt.Fprintf(os.Stderr, "%d errors occurred\n", nErr)
os.Exit(1)
os.Exit(nErr)
}
}
}