]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: emit definition of 'any' when compiling runtime
authorThan McIntosh <thanm@google.com>
Tue, 16 Nov 2021 23:44:08 +0000 (18:44 -0500)
committerThan McIntosh <thanm@google.com>
Wed, 17 Nov 2021 01:56:19 +0000 (01:56 +0000)
commit3d7cb23e3d5e7880d582f1b0300064bd1138f3ee
treee9f01ada64abb18c44503a556c1c65ea91fad48a
parenta2b8231b91e8c4c9e95875b8063bf364f5b0db97
cmd/compile: emit definition of 'any' when compiling runtime

Include the predefined type 'any' in the list of other important
predefined types that are emitted when compiling the runtime package
(uintptr, string, etc).

Fixes #49619.

Change-Id: I4a851ba2f302fbc3a425e65daa325c6bf83659da
Reviewed-on: https://go-review.googlesource.com/c/go/+/364377
Trust: Than McIntosh <thanm@google.com>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/cmd/compile/internal/reflectdata/reflect.go
test/fixedbugs/issue49619.go [new file with mode: 0644]