# File lib/multimethod/parameter.rb, line 189
    def score(arg)
      if @restarg
        score = RESTARG_SCORE
      elsif @default && ! arg
        score = DEFAULT_SCORE
      else
        score = all_types(arg).index(type_object) 
      end

      # $stderr.puts "  score(#{signature.to_s}, #{to_s}, #{arg && arg.name}) => #{score}"

      score
    end