[GHC] #12864: Produce type errors after looking at whole applications