spir Wrote: > No, in fact a variadic param list is not an array -- this is according to > TDPL an iternal type of the language. Trying to assign it to an X[] var > throws: > DeeMatch.d(371): Error: cannot implicitly convert expression (patterns) of > type DeeMatch.Pattern to Pattern[] > Well, actually, the type of the expression given in the error > (DeeMatch.Pattern) is wrong: this is the type of each element of the variadic > list.
Well I took the example for type safe variadics and added an int[] fish storing the array... So am I missing something? http://ideone.com/Kyi78