]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use embedlineno instead of lineno in copytype
authorYury Smolsky <yury@smolsky.by>
Mon, 28 May 2018 10:20:45 +0000 (13:20 +0300)
committerRobert Griesemer <gri@golang.org>
Wed, 22 Aug 2018 21:16:54 +0000 (21:16 +0000)
commit34c58fe184fa73ecff0e7142fcf567b1a9abc01b
treea5c1face3f52ea85cadb19aad47633226815b79c
parente34f660a52b810e7f4d4a186c7502324c67390ea
cmd/compile: use embedlineno instead of lineno in copytype

Also remove lineno from typecheckdeftype since copytype was
the only user of it and typecheck uses lineno independently.

toolstach-check passed.

Updates #19683.

Change-Id: I1663fdb8cf519d505cc087c8657dcbff3c8b1a0a
Reviewed-on: https://go-review.googlesource.com/114875
Run-TryBot: Yury Smolsky <yury@smolsky.by>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/gc/typecheck.go