@@ -957,7 +957,7 @@ instance Sized a => Sized (PTactic' a) where
957957type PTactic = PTactic' PTerm
958958
959959data PDo' t = DoExp FC t
960− | DoBind FC Name t
960+ | DoBind FC Name FC t -- ^ second FC is precise name location
961961 | DoBindP FC t t [(t,t)]
962962 | DoLet FC Name t t
963963 | DoLetP FC t t
@@ -969,7 +969,7 @@ deriving instance NFData PDo'
969969
970970instance Sized a => Sized (PDo' a) where
971971 size (DoExp fc t) = 1 + size fc + size t
972− size (DoBind fc nm t) = 1 + size fc + size nm + size t
972+ size (DoBind fc nm nfc t) = 1 + size fc + size nm + size nfc + size t
973973 size (DoBindP fc l r alts) = 1 + size fc + size l + size r + size alts
974974 size (DoLet fc nm l r) = 1 + size fc + size nm + size l + size r
975975 size (DoLetP fc l r) = 1 + size fc + size l + size r
@@ -1059,7 +1059,7 @@ highestFC (PDoBlock lines) =
10591059 (fc:_) -> Just fc
10601060 where
10611061 getDoFC (DoExp fc t) = fc
1062− getDoFC (DoBind fc nm t) = fc
1062+ getDoFC (DoBind fc nm nfc t) = fc
10631063 getDoFC (DoBindP fc l r alts) = fc
10641064 getDoFC (DoLet fc nm l r) = fc
10651065 getDoFC (DoLetP fc l r) = fc