@@ -439,7 +439,7 @@ pop_estack = do i <- getIState
439439-- Dodgy hack 1: Put integer instances first in the list so they are
440440-- resolved by default.
441441--
442−-- Dodgy hack 2: put constraint chasers (@@) last
442+-- Dodgy hack 2: put constraint chasers (ParentN) last
443443addInstance :: Bool -- ^ whether the name is an Integer instance
444444 -> Bool -- ^ whether to include the instance in instance search
445445 -> Name -- ^ the name of the class
@@ -461,8 +461,7 @@ addInstance int res n i
461461 insI i (n : ns) | chaser (fst n) = (i, res) : n : ns
462462 | otherwise = n : insI i ns
463463
464− chaser (UN nm)
465− | ('@':'@':_) <- str nm = True
464+ chaser (SN (ParentN _ _)) = True
466465 chaser (NS n _) = chaser n
467466 chaser _ = False
468467