var x: boolean = (true ? 1 : ""); // should be an error