# File lib/sass/tree/visitors/check_nesting.rb, line 96 def invalid_function_parent?(parent, child) unless (@parents.map {|p| p.class} & INVALID_IMPORT_PARENTS).empty? return "Functions may not be defined within control directives or other mixins." end end