Skip to content

redeclared in this block error at wrong file and line #1663

@alberts

Description

@alberts
What steps will reproduce the problem?

6g bork.go

What is the expected output?

error at line 7.

What do you see instead?

error at line 1. if multiple files are used, error can even be in the wrong file.

bork.go:1: error redeclared in this block
        previous declaration at bork.go:1

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?

linux

Which revision are you using?  (hg identify)

tip

Attachments:

  1. bork.go (170 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