]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: handle objStub earlier in reader
authorMatthew Dempsky <mdempsky@google.com>
Tue, 13 Jul 2021 20:25:16 +0000 (13:25 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 14 Jul 2021 02:41:01 +0000 (02:41 +0000)
commit82744bfbfc2d0407ecf1bf055f548c3948d4683b
tree1ec56aa5407af557c2d77d38cc36f931f6690c08
parente5faa8d84ba8583dd16758227249fab42ef3a1e0
[dev.typeparams] cmd/compile: handle objStub earlier in reader

There's no point in reading the object dictionary for a stub
declaration. Only the package that contains the full object definition
will contain an object dictionary.

Change-Id: I458b77d20745105bf46190ef552312bdb5ca4d06
Reviewed-on: https://go-review.googlesource.com/c/go/+/334409
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/noder/reader.go