1. 18 Oct, 2017 4 commits
  2. 17 Oct, 2017 16 commits
  3. 16 Oct, 2017 18 commits
  4. 15 Oct, 2017 2 commits
    • Daniel Martí's avatar
      cmd/compile: simplify some declarations · 270a789c
      Daniel Martí authored
      Reduce the scope of some. Also remove vars that were simply the index or
      the value in a range statement. While at it, remove a var that was
      exactly the length of a slice.
      
      Also replaced 'bad' with a more clear 'errored' of type bool, and
      renamed a single-char name with a comment to a name that is
      self-explanatory.
      
      And removed a few unnecessary Index calls within loops.
      
      Passes toolstash -cmp on std cmd.
      
      Change-Id: I26eee5f04e8f7e5418e43e25dca34f89cca5c80a
      Reviewed-on: https://go-review.googlesource.com/70930
      Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
      Reviewed-by: default avatarMatthew Dempsky <mdempsky@google.com>
      270a789c
    • Rob Pike's avatar
      fmt: clarify wording of * flag · e5b73357
      Rob Pike authored
      The complainant is confused by the ambiguity of 'next' in the
      phrase 'next operand'. It seems clear enough to me that things
      are always read left to right when formatting, but to calm the
      waters we add a clarifying parenthetical.
      
      Fixes #22275
      
      Change-Id: I82418c1e987db736f4bee0faa53fe715c9cde8f5
      Reviewed-on: https://go-review.googlesource.com/71010Reviewed-by: default avatarEmmanuel Odeke <emm.odeke@gmail.com>
      e5b73357