diff options
Diffstat (limited to 'testsuite/tests/ghc-regress/typecheck/should_compile/tc130.hs')
-rw-r--r-- | testsuite/tests/ghc-regress/typecheck/should_compile/tc130.hs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/testsuite/tests/ghc-regress/typecheck/should_compile/tc130.hs b/testsuite/tests/ghc-regress/typecheck/should_compile/tc130.hs deleted file mode 100644 index da91273ff0..0000000000 --- a/testsuite/tests/ghc-regress/typecheck/should_compile/tc130.hs +++ /dev/null @@ -1,16 +0,0 @@ -{-# LANGUAGE ImplicitParams #-} - --- !!! Desugaring of record updates --- Showed up a bug in the newtype-squashing machinery - - -module ShouldCompile where - -data R = R {field :: Int} - -test:: (?param :: R) => a -> Int -test x = field (?param {field = 42}) - -- The type of the record to be updated is - -- {?param :: R} as well as plain R - -- which confused the compiler - |