summaryrefslogtreecommitdiff
path: root/testsuite/tests/plugins/simple-plugin/Simple
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-11-11 12:34:42 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-12-03 21:04:50 -0500
commit25019d18109cd620a2cf6ab0e7d417d14935e8a5 (patch)
treea81dc696bd36a9e3669f49936c5f3533d633805f /testsuite/tests/plugins/simple-plugin/Simple
parent10caee7fd3f048ead668e8bc70d855d9a55f89a5 (diff)
downloadhaskell-25019d18109cd620a2cf6ab0e7d417d14935e8a5.tar.gz
Drop Uniquable constraint for AnnTarget
This relied on deriveUnique, which was far too subtle to be safely applied. Thankfully the instance doesn't appear to be used so let's just drop it.
Diffstat (limited to 'testsuite/tests/plugins/simple-plugin/Simple')
-rw-r--r--testsuite/tests/plugins/simple-plugin/Simple/Plugin.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/plugins/simple-plugin/Simple/Plugin.hs b/testsuite/tests/plugins/simple-plugin/Simple/Plugin.hs
index 938d23586c..aabc1e5b6c 100644
--- a/testsuite/tests/plugins/simple-plugin/Simple/Plugin.hs
+++ b/testsuite/tests/plugins/simple-plugin/Simple/Plugin.hs
@@ -46,7 +46,7 @@ findNameBndr target b
mainPass :: ModGuts -> CoreM ModGuts
mainPass guts = do
putMsgS "Simple Plugin Pass Run"
- anns <- getAnnotations deserializeWithData guts
+ (_, anns) <- getAnnotations deserializeWithData guts
bindsOnlyPass (mapM (changeBind anns Nothing)) guts
changeBind :: UniqFM [ReplaceWith] -> Maybe String -> CoreBind -> CoreM CoreBind