[Git][ghc/ghc][master] Test case for #17652

Marge Bot gitlab at gitlab.haskell.org
Sat Aug 1 08:23:10 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
e30fed6c by Vladislav Zavialov at 2020-08-01T04:23:04-04:00
Test case for #17652

The issue was fixed by 19e80b9af252eee760dc047765a9930ef00067ec

- - - - -


3 changed files:

- + testsuite/tests/haddock/should_compile_flag_haddock/T17652.hs
- + testsuite/tests/haddock/should_compile_flag_haddock/T17652.stderr
- testsuite/tests/haddock/should_compile_flag_haddock/all.T


Changes:

=====================================
testsuite/tests/haddock/should_compile_flag_haddock/T17652.hs
=====================================
@@ -0,0 +1,8 @@
+module T17652 where
+
+data X
+  = B
+     -- | x
+     !Int
+     -- | y
+     String


=====================================
testsuite/tests/haddock/should_compile_flag_haddock/T17652.stderr
=====================================
@@ -0,0 +1,6 @@
+
+==================== Parser ====================
+module T17652 where
+data X = B !Int " x" String " y"
+
+


=====================================
testsuite/tests/haddock/should_compile_flag_haddock/all.T
=====================================
@@ -62,3 +62,4 @@ test('T17544_kw', normal, compile, ['-haddock -Winvalid-haddock -ddump-parsed-as
 test('haddockExtraDocs', normal, compile, ['-haddock -Winvalid-haddock'])
 test('haddockTySyn', normal, compile, ['-haddock -Winvalid-haddock -ddump-parsed'])
 test('T8944', normal, compile, ['-haddock -Winvalid-haddock -ddump-parsed'])
+test('T17652', normal, compile, ['-haddock -Winvalid-haddock -ddump-parsed'])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e30fed6c6de1f881ce313900274294a793e42677

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e30fed6c6de1f881ce313900274294a793e42677
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/20200801/475175e1/attachment.html>


More information about the ghc-commits mailing list