@@ -13,6 +13,7 @@ where
1313import Bag (bagToList)
1414import BasicTypes
1515import Control.Monad
16+import Data.Bool (bool)
1617import Data.Data hiding (Infix, Prefix)
1718import Data.List (intersperse, sortOn)
1819import Data.Text (Text)
@@ -728,7 +729,9 @@ p_hsBracket = \case
728729 DecBrL NoExt decls -> quote "d" (p_hsDecls Free decls)
729730 DecBrG NoExt _ -> notImplemented "DecBrG" -- result of renamer
730731 TypBr NoExt ty -> quote "t" (located ty p_hsType)
731− VarBr NoExt _ _ -> notImplemented "VarBr"
732+ VarBr NoExt isSingleQuote name -> do
733+ txt (bool "''" "'" isSingleQuote)
734+ p_rdrName (noLoc name)
732735 TExpBr NoExt expr -> do
733736 txt "[||"
734737 breakpoint'