Closed
Description
Given that we are special casing never
now, could we consider handling this too:
declare const nope: never;
declare const anArray: any[];
declare const anObject: { [key: string]: any };
declare function aMethod(arg: string): string;
anArray[nope]; // $ExpectError
anObject[nope]; // $ExpectError
aMethod(nope); // $ExpectError
const hello = "hello " + nope; // $ExpectError
const meaningOfLife = 42 + nope; // $ExpectError