1. 20 Oct, 2017 1 commit
  2. 19 Oct, 2017 12 commits
  3. 18 Oct, 2017 10 commits
  4. 17 Oct, 2017 16 commits
  5. 16 Oct, 2017 1 commit
    • Jay Conrod's avatar
      cmd/cover: preserve compiler directives in floating comments · 38a3c2cf
      Jay Conrod authored
      Previously, cover printed directives (//go: comments) near the top of
      the file unless they were in doc comments. However, directives
      frequently apply to specific definitions, and they are not written in
      doc comments to prevent godoc from printing them. Moving all
      directives to the top of the file affected semantics of tests.
      
      With this change, directives are kept together with the following
      top-level declarations. Only directives that occur after all top-level
      declarations are moved.
      
      Fixes #22022
      
      Change-Id: Ic5c61c4d3969996e4ed5abccba0989163789254c
      Reviewed-on: https://go-review.googlesource.com/69630
      Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
      Reviewed-by: default avatarAlan Donovan <adonovan@google.com>
      38a3c2cf