title: TooManyValues layout: article

TooManyValues occurs when a function returns too many values for the
expression context in which it is used.

Example:
 func ReturnTwo() (int, int) {
 	return 1, 2
 }

 var x = ReturnTwo()