1. 03 Jan, 2019 4 commits
  2. 02 Jan, 2019 13 commits
  3. 01 Jan, 2019 2 commits
  4. 31 Dec, 2018 1 commit
  5. 30 Dec, 2018 3 commits
  6. 29 Dec, 2018 4 commits
  7. 28 Dec, 2018 3 commits
  8. 27 Dec, 2018 3 commits
  9. 26 Dec, 2018 1 commit
  10. 25 Dec, 2018 1 commit
  11. 24 Dec, 2018 3 commits
  12. 22 Dec, 2018 2 commits
    • Daniel Martí's avatar
      cmd/go: add regression test for cryptic vcs errors · 97d5cb24
      Daniel Martí authored
      On Go 1.11.x, if one ran 'go build' on a main package within a module,
      while a needed vcs program like git was missing, a confusing error would
      show up:
      
      	build testmod: cannot find module for path rsc.io/quote
      
      The error should instead point at the source of the problem, which is
      the missing vcs program. Thankfully, Go 1.12 doesn't have this bug, even
      though it doesn't seem like the bug was fixed directly and
      intentionally.
      
      To ensure that this particular edge case isn't broken again, add a
      regression test. Piggyback on mod_vcs_missing, since it already requires
      a missing vcs program and network access.
      
      I double-checked that Go 1.11 fails this test via /usr/bin/go, which is
      1.11.3 on my system:
      
      	$ PATH=~/tip/bin go test -v -run Script/mod_vcs_missing
      	[...]
      	> exec /usr/bin/go build
      	[stderr]
      	build m: cannot find module for path launchpad.net/gocheck
      
      Fixes #28948.
      
      Change-Id: Iff1bcf77d9f7c11d15935cb87d6f58d7981d33d2
      Reviewed-on: https://go-review.googlesource.com/c/155537
      Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
      97d5cb24
    • Josh Bleecher Snyder's avatar
      cmd/compile/internal/ssa/gen: set wasm genfile · 3a3b98fd
      Josh Bleecher Snyder authored
      This appears to have been an oversight and/or
      left over from development.
      
      Setting the genfile means that extra sanity
      checks are executed when regenerating SSA files.
      They already pass.
      
      Change-Id: Icc01ecf85020d3d51355e8bccfbc521b52371747
      Reviewed-on: https://go-review.googlesource.com/c/154459
      Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
      Reviewed-by: default avatarKeith Randall <khr@golang.org>
      3a3b98fd