Michael Matloob d415e1c6f9 go/packages: fix loading of syntax when types not requested
Fix a case where go/packages wasn't loading syntax if a user
requested syntax without types.

Fixes golang/go#35331

Change-Id: Ife3eda583f28cbd6189257d1ffda2ed350044a01
Reviewed-on: https://go-review.googlesource.com/c/tools/+/205160
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-11-04 18:26:21 +00:00
..
2019-01-10 14:16:07 +00:00
2019-09-11 15:13:14 +00:00
2019-09-11 15:13:14 +00:00
2019-10-01 17:08:58 +00:00
2019-09-11 15:13:14 +00:00
2019-05-06 14:53:03 +00:00