correct type mistake, hidden by happy -agc coercions!
authorIsaac Dupree <id@isaac.cedarswampstudios.org>
Wed, 26 Dec 2007 14:07:43 +0000 (14:07 +0000)
committerIsaac Dupree <id@isaac.cedarswampstudios.org>
Wed, 26 Dec 2007 14:07:43 +0000 (14:07 +0000)
compiler/parser/Parser.y.pp

index 6de95f8..cfaa8f8 100644 (file)
@@ -1896,7 +1896,7 @@ docnamed :: { Located (String, (HsDoc RdrName)) }
         MyLeft  err -> parseError (getLoc $1) err;
         MyRight doc -> return (L1 (name, doc)) } }
 
-docsection :: { Located (n, HsDoc RdrName) }
+docsection :: { Located (Int, HsDoc RdrName) }
   : DOCSECTION {% let (n, doc) = getDOCSECTION $1 in
         case parseHaddockString (tokenise doc) of {
       MyLeft  err -> parseError (getLoc $1) err;