We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3edd1d8 commit bf3ee57Copy full SHA for bf3ee57
src/cmd/compile/internal/gc/fmt.go
@@ -94,7 +94,7 @@ func fmtFlag(s fmt.State, verb rune) FmtFlag {
94
95
// *types.Sym, *types.Type, and *Node types use the flags below to set the format mode
96
const (
97
- FErr = iota
+ FErr fmtMode = iota
98
FDbg
99
FTypeId
100
FTypeIdName // same as FTypeId, but use package name instead of prefix
src/cmd/compile/internal/gc/main.go
@@ -526,7 +526,7 @@ func Main(archInit func(*Arch)) {
526
}
527
types.FmtLeft = int(FmtLeft)
528
types.FmtUnsigned = int(FmtUnsigned)
529
- types.FErr = FErr
+ types.FErr = int(FErr)
530
types.Ctxt = Ctxt
531
532
initUniverse()
0 commit comments