[Git][ghc/ghc][wip/amg/renamer-refactor] 2 commits: Fix Makefile for new DRFPatSynExport test

Adam Gundry gitlab at gitlab.haskell.org
Fri Nov 20 09:49:12 UTC 2020



Adam Gundry pushed to branch wip/amg/renamer-refactor at Glasgow Haskell Compiler / GHC


Commits:
818c2895 by Adam Gundry at 2020-11-20T09:39:31+00:00
Fix Makefile for new DRFPatSynExport test

- - - - -
13d13a60 by Adam Gundry at 2020-11-20T09:48:27+00:00
Remove an unused extension

- - - - -


3 changed files:

- compiler/GHC/Hs/Binds.hs
- testsuite/tests/overloadedrecflds/should_compile/DRFPatSynExport.stdout
- testsuite/tests/overloadedrecflds/should_compile/Makefile


Changes:

=====================================
compiler/GHC/Hs/Binds.hs
=====================================
@@ -5,7 +5,6 @@
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE LambdaCase #-}
 {-# LANGUAGE ScopedTypeVariables #-}
-{-# LANGUAGE StandaloneDeriving #-}
 {-# LANGUAGE TypeApplications #-}
 {-# LANGUAGE TypeFamilies #-}
 {-# LANGUAGE UndecidableInstances #-} -- Wrinkle in Note [Trees That Grow]


=====================================
testsuite/tests/overloadedrecflds/should_compile/DRFPatSynExport.stdout
=====================================
@@ -1,3 +1 @@
-[1 of 2] Compiling DRFPatSynExport_A ( DRFPatSynExport_A.hs, DRFPatSynExport_A.o )
-[2 of 2] Compiling DRFPatSynExport  ( DRFPatSynExport.hs, DRFPatSynExport.o )
 import DRFPatSynExport_A ( MkT, m )


=====================================
testsuite/tests/overloadedrecflds/should_compile/Makefile
=====================================
@@ -1,3 +1,10 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
 DRFPatSynExport:
-	'$(TEST_HC)' $(TEST_HC_OPTS) DRFPatSynExport.hs -fforce-recomp -ddump-minimal-imports
+	$(RM) DRFPatSynExport.hi DRFPatSynExport.o DRFPatSynExport.imports
+	$(RM) DRFPatSynExport_A.hi DRFPatSynExport_A.o
+	'$(TEST_HC)' $(TEST_HC_OPTS) -c DRFPatSynExport_A.hs
+	'$(TEST_HC)' $(TEST_HC_OPTS) -c DRFPatSynExport.hs -ddump-minimal-imports
 	cat DRFPatSynExport.imports



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c6d41ff494ef93d5dadc53f0842f109146f36760...13d13a60c0ebc63adc0432f6fac835023c09a3a3

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c6d41ff494ef93d5dadc53f0842f109146f36760...13d13a60c0ebc63adc0432f6fac835023c09a3a3
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201120/2ac3d202/attachment-0001.html>


More information about the ghc-commits mailing list