...
Run Format

Source file src/go/doc/testdata/issue13742.go

Documentation: go/doc/testdata

     1  // Copyright 2016 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package issue13742
     6  
     7  import (
     8  	"go/ast"
     9  	. "go/ast"
    10  )
    11  
    12  // Both F0 and G0 should appear as functions.
    13  func F0(Node)  {}
    14  func G0() Node { return nil }
    15  
    16  // Both F1 and G1 should appear as functions.
    17  func F1(ast.Node)  {}
    18  func G1() ast.Node { return nil }
    19  

View as plain text