]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal/types2: match compiler error for invalid type alias decl
authorRobert Griesemer <gri@golang.org>
Thu, 29 Apr 2021 01:00:16 +0000 (18:00 -0700)
committerDan Scales <danscales@google.com>
Thu, 29 Apr 2021 04:59:52 +0000 (04:59 +0000)
commit6afa0ae4e54ec049f291050b82c2a770bb3644b1
tree137ba2326ca11077a0fef072a22a274d93d46deb
parent42953bc9f5ded1bcf4ff727d82ddd3b7a8a2b8de
cmd/compile/internal/types2: match compiler error for invalid type alias decl

Fixes #45594.

Change-Id: I2fcc784e6908403dd96b009546e1ac2f53b9f0e8
Reviewed-on: https://go-review.googlesource.com/c/go/+/314776
Trust: Robert Griesemer <gri@golang.org>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/cmd/compile/internal/types2/decl.go