x/tools/go/types: line number out of range (original) (raw)

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