mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
When exporting a body containing
x, ok := v.(Type)
the definition for Type was not being included, so when the body
was actually used, it would cause an "unknown type" compiler error.
Fixes #4370.
R=ken2
CC=golang-dev
https://golang.org/cl/6827064
9 lines
267 B
Go
9 lines
267 B
Go
// compiledir
|
|
|
|
// Copyright 2012 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.
|
|
|
|
// Re-exporting inlined function bodies missed types in x, ok := v.(Type)
|
|
|
|
package ignored
|