Fails to parse file with open-ended function argument


If I run a test containing a function with an open-ended function Chutzpah fails to parse it and does not run.

function sum(...numbers: number[]) {

easy workaround : place that function in another file, or use a regular array instead
Closed Feb 7, 2013 at 4:48 PM by mmanela
Fixed with 2.3 release


mmanela wrote Jan 16, 2013 at 2:55 PM

What version of ECMA script is that syntax defined in?

prgjonas wrote Feb 7, 2013 at 8:26 AM

Sorry, I forgot to mention it was typescript, but it works now (with TS 0.8.2 + Chutzpah 2.30), so please close this issue.

mmanela wrote Feb 7, 2013 at 4:48 PM