[GHC] #11652: Cyclical dependencies aren't reported in pure functions