haskell-tools-builtin-refactorings-1.0.0.0: examples/Decl/AmbiguousFields.hs
{-# LANGUAGE DuplicateRecordFields #-}
module Decl.AmbiguousFields where
data A = A { x, y :: Int }
data B = B { x, y :: Int }
f :: A -> Int
f = x
{-# LANGUAGE DuplicateRecordFields #-}
module Decl.AmbiguousFields where
data A = A { x, y :: Int }
data B = B { x, y :: Int }
f :: A -> Int
f = x