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