Skip to content

proposal: fmt/v2: State Flag(int) should be Flag(rune) #7047

@kortschak

Description

@kortschak
This issue is really just a note.

The Flag method of fmt.State takes an int argument but represents a 'character'.
Probably it should have been changed from int to rune when the rune alias was introduced
(or byte - given all flags are ASCII).

Which version are you using?  (run 'go version')

go1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Proposalv2An incompatible library change

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions