title: MisplacedBreak layout: article

MisplacedBreak occurs when a break statement is not within a for, switch,
or select statement of the innermost function definition.

Example:
 func f() {
 	break
 }