Skip to content

original package identifier still in scope even when import specifies a different name #403

@rogpeppe

Description

@rogpeppe
the attached file gives the following compiler error:

pkgbug.go:4: fmt redeclared in this block
    previous declaration at <epoch>

i would expect it to work ok.

darwin, 386, 8cc3a6f7ad37+ tip

Attachments:

  1. importbug.go (73 bytes)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions