Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt: incorrect overflow detection #10695

dvyukov opened this issue May 5, 2015 · 1 comment

fmt: incorrect overflow detection #10695

dvyukov opened this issue May 5, 2015 · 1 comment


Copy link

@dvyukov dvyukov commented May 5, 2015

The following program prints " 0", while it should produce an error.

package main

import "fmt"

func main() {
    fmt.Printf("%q\n", fmt.Sprintf("%184467440737095516170v", 0))
@dvyukov dvyukov added this to the Go1.5 milestone May 5, 2015
Copy link

@gopherbot gopherbot commented May 5, 2015

CL mentions this issue.

@robpike robpike closed this in 92715d7 May 5, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.