[GHC] #10968: Type hole cause bad type checking