My IDE's tooling shows that xs
has type Int*
in the following snippet:
def accept(xs: Int*) = true
The language reference, however, says that a repeated parameter declared as T*
has type Seq[T]
. Is there a difference between Int*
and Seq[Int]
?