Input:
{-# OPTIONS_GHC -fplugin=RecordDotPreprocessor #-}
foo = a{b = c
}
fooplus f n = f{foo = f.bar + n}
Output:
{-# OPTIONS_GHC -fplugin=RecordDotPreprocessor #-}
foo =
a { b = c
}
fooplus f n = f{foo = f.bar + n}
The right result should be:
{-# OPTIONS_GHC -fplugin=RecordDotPreprocessor #-}
foo =
a{b = c
}
fooplus f n = f{foo = f.bar + n}
Input:
{-# OPTIONS_GHC -fplugin=RecordDotPreprocessor #-} foo = a{b = c } fooplus f n = f{foo = f.bar + n}Output:
{-# OPTIONS_GHC -fplugin=RecordDotPreprocessor #-} foo = a { b = c } fooplus f n = f{foo = f.bar + n}The right result should be:
{-# OPTIONS_GHC -fplugin=RecordDotPreprocessor #-} foo = a{b = c } fooplus f n = f{foo = f.bar + n}