haskell-tools-refactor-1.0.1.1: 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