0
1
mirror of https://github.com/golang/go synced 2025-07-04 20:13:04 +00:00
Files
go/test/fixedbugs/issue4167.go
Rémy Oudompheng bcea0dd1d0 cmd/gc: fix inlining internal error with T.Method calls.
The compiler was confused when inlining a T.Method(f()) call
where f returns multiple values: support for this was marked
as TODO.

Variadic calls are not supported but are not inlined either.
Add a test preventively for that case.

Fixes #4167.

R=golang-dev, rsc, lvd
CC=golang-dev
https://golang.org/cl/6871043
2012-12-03 13:39:40 +01:00

877 B