summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2019-02-11 09:31:40 -0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-02-13 20:13:34 -0500
commit7f26b74e409d058005909fc2b2ed2e6027d49365 (patch)
treefbb512eb7df211408ce0ae1ec5242e00514d1318 /testsuite/tests/deriving
parente40f00dcf96ba9009801dd1ca37b4abf12951b6e (diff)
downloadhaskell-7f26b74e409d058005909fc2b2ed2e6027d49365.tar.gz
Add `liftedTyped` to `Lift` class
Implements GHC proposal 43, adding a `liftTyped` method to the `Lift` typeclass. This also adds some documentation to `TExp`, describing typed splices and their advantages over their untyped counterparts. Resolves #14671.
Diffstat (limited to 'testsuite/tests/deriving')
-rw-r--r--testsuite/tests/deriving/should_compile/T14682.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_compile/T14682.stderr b/testsuite/tests/deriving/should_compile/T14682.stderr
index ed44b3c2b1..75e9030bc7 100644
--- a/testsuite/tests/deriving/should_compile/T14682.stderr
+++ b/testsuite/tests/deriving/should_compile/T14682.stderr
@@ -98,6 +98,13 @@ GHC.Show.Show [T14682.Foo]
==================== Filling in method body ====================
+Language.Haskell.TH.Syntax.Lift [T14682.Foo]
+ Language.Haskell.TH.Syntax.liftTyped = Language.Haskell.TH.Syntax.$dmliftTyped
+ @(T14682.Foo)
+
+
+
+==================== Filling in method body ====================
Data.Data.Data [T14682.Foo]
Data.Data.dataCast1 = Data.Data.$dmdataCast1 @(T14682.Foo)