hls-rename-plugin-1.0.1.0: test/testdata/FieldPuns.hs
{-# LANGUAGE NamedFieldPuns #-}
module FieldPun () where
newtype Foo = Foo { field :: Int }
unFoo :: Foo -> Int
unFoo Foo{field} = field
{-# LANGUAGE NamedFieldPuns #-}
module FieldPun () where
newtype Foo = Foo { field :: Int }
unFoo :: Foo -> Int
unFoo Foo{field} = field