1. 29 Jun, 2018 1 commit
    • Daniel Martí's avatar
      cmd/vet: don't run buildtag check when in vetxonly mode · 1d1e25fb
      Daniel Martí authored
      The check was running in the loop that read source files in, much before
      any of the other checks ran. Vetxonly makes vet exit early, but after
      all the source files have been read.
      
      To fix this, simply run the buildtag check along with all the other
      checks that get run on specific syntax tree nodes.
      
      Add a cmd/go test with go test -a, to ensure that the issue as reported
      is fixed.
      
      Fixes #26102.
      
      Change-Id: If6e3b9418ffa8166c0f982668b0d10872283776a
      Reviewed-on: https://go-review.googlesource.com/121395
      Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      1d1e25fb
  2. 28 Jun, 2018 10 commits
  3. 27 Jun, 2018 16 commits
  4. 26 Jun, 2018 10 commits
  5. 25 Jun, 2018 3 commits