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