class Sass::Tree::Visitors::CheckNesting

def invalid_mixindef_parent?(parent, child)

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