Skip to content

x/tools/go/types: line number out of range #11329

Closed
@dvyukov

Description

@dvyukov

Gc rejects to compile the following program:

package a //line :1000000000

saying:

line number out of range

gotype compiles it successfully.

Compilers should agree on whether it is a valid Go program or not.

on commit af81789

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions