Skip to content

wire: can't handle varargs #61

Closed
Closed
@ijt

Description

@ijt

Describe the bug

Wire can't handle functions with varargs.

To Reproduce

  1. Add a varargs parameter to a function, see for example

google/go-cloud@7cfcbb8

  1. Add a wire.Value entry to provide a concrete value for the parameter.

  2. Run wire.

Expected behavior

The Go file generated by wire should compile, but it doesn't.

https://travis-ci.com/google/go-cloud/jobs/156507298

Version

bf223a0

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestin progressThis is being actively worked on

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions