var x:string[] = [0,1].slice(0); // this should be an error