Is there a difference in Scala between Seq[T] and T*?

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]?

7
задан Jean-Philippe Pellet 12 April 2011 в 20:56
поделиться