haskell-language-server-2.7.0.0: plugins/hls-rename-plugin/test/testdata/IndirectPuns.expected.hs
{-# LANGUAGE NamedFieldPuns #-}
module IndirectPuns () where
newtype Foo = Foo { blah :: Int }
unFoo :: Foo -> Int
unFoo Foo{blah} = blah
{-# LANGUAGE NamedFieldPuns #-}
module IndirectPuns () where
newtype Foo = Foo { blah :: Int }
unFoo :: Foo -> Int
unFoo Foo{blah} = blah