We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04ebaf1 commit 07a8ba4Copy full SHA for 07a8ba4
src/strconv/atoi.go
@@ -22,7 +22,7 @@ var ErrSyntax = errors.New("invalid syntax")
22
23
// A NumError records a failed conversion.
24
type NumError struct {
25
- Func string // the failing function (ParseBool, ParseInt, ParseUint, ParseFloat)
+ Func string // the failing function (ParseBool, ParseInt, ParseUint, ParseFloat, ParseComplex)
26
Num string // the input
27
Err error // the reason the conversion failed (e.g. ErrRange, ErrSyntax, etc.)
28
}
0 commit comments