// This is a regression test for incorrect fast-path for objects // Previously, we enable ObjT ~> ObjT fast path if props_ids are the same, // which causes us to incorrectly enter the fast path when the call prop has changed. type ThunkType = { (): R, ... }; type MyThunkType = ThunkType; declare const MyThunk: MyThunkType; MyThunk as ThunkType; // error: number ~> string