]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use yyerrorl in some typechecking functions
authorTobias Klauser <tklauser@distanz.ch>
Wed, 11 Oct 2017 12:49:39 +0000 (14:49 +0200)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 26 Sep 2019 06:48:55 +0000 (06:48 +0000)
commit770a13546e2e98f59310297462115d0163a1cf1a
treec150dd8eb2b0aabdd6435538ed3df3e295b40674
parentb2f40019da3e7c0cf1e79b6f5e039c8bb5a877f3
cmd/compile: use yyerrorl in some typechecking functions

Replace usage of yyerror with yyerrorl in checkdefergo and copytype in
typecheck.go.

All covered error messages already appear in the tests and the yyerror
replacement did not lead to any tests failing.

Passes toolstash-check

Updates #19683

Change-Id: I735e83bcda7ddc6a14afb22e50200bcbb9192fc4
Reviewed-on: https://go-review.googlesource.com/c/go/+/69910
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/typecheck.go