Fix endless recursion on correction for "..."
Fix endless recursion on correction for "..."

If a function makes use of varargs, but does not specify a required array type,
we raise an error and then rebuild the type.  Previously, some debug code was
checked in where instead of setting the type, we set the element type, so in
some cases the compiler would recurse endlessly when attempting to print an
error message.

popravich/typescript,guidobouman/typescript,rbirkby/typescript,mbebenita/shumway.ts,guidobouman/typescript,fdecampredon/jsx-typescript-old-version,popravich/typescript,bolinfest/typescript,tarruda/typescript,turbulenz/typescript,bolinfest/typescript,mbebenita/shumway.ts,mbrowne/typescript-dci,mbrowne/typescript-dci,popravich/typescript,hippich/typescript,tarruda/typescript,rbirkby/typescript,mbrowne/typescript-dci,hippich/typescript,fdecampredon/jsx-typescript-old-version,tarruda/typescript,rbirkby/typescript,guidobouman/typescript,mbrowne/typescript-dci,vcsjones/typescript,mbebenita/shumway.ts,turbulenz/typescript,fdecampredon/jsx-typescript-old-version,turbulenz/typescript,bolinfest/typescript,hippich/typescript