Error: Functions may not be declared in control directives.
  @function foo() {}
  ^^^^^^^^^^^^^^^
  spec/errors/invalid-parent/function-in-each/input.scss 2:3  root stylesheet
