If a method or function refers to a type from an unbound package, ignore it instead of reporting an error. Change-Id: I689da63c1a0d1a3aa09220311d871c1f6f66208f Reviewed-on: https://go-review.googlesource.com/20985 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
13 lines
332 B
Go
13 lines
332 B
Go
// Copyright 2016 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Package simplepkg is imported from testpkg and tests
|
|
// that references to other, unbound packages, are ignored.
|
|
package unboundpkg
|
|
|
|
type (
|
|
S struct{}
|
|
I interface{}
|
|
)
|