From 8dc323fc0d7f0a49e5489fb1bb92dcaa45c4511c Mon Sep 17 00:00:00 2001 From: davve Date: Wed, 17 Jan 2007 21:42:41 +0000 Subject: Remove comment --- src/GHCUtils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GHCUtils.hs b/src/GHCUtils.hs index e6820c66..4b6efdbd 100644 --- a/src/GHCUtils.hs +++ b/src/GHCUtils.hs @@ -12,7 +12,7 @@ getMainDeclBinder :: HsDecl name -> Maybe name getMainDeclBinder (TyClD d) = Just (tcdName d) getMainDeclBinder (ValD d) = case collectAcc d [] of - [] -> Nothing -- see rn003 + [] -> Nothing (name:_) -> Just (unLoc name) getMainDeclBinder (SigD d) = sigNameNoLoc d getMainDeclBinder (ForD (ForeignImport name _ _)) = Just (unLoc name) -- cgit v1.2.3