summaryrefslogtreecommitdiff
path: root/compiler/Language/Haskell
diff options
context:
space:
mode:
authorCale Gibbard <cgibbard@gmail.com>2021-02-22 15:56:22 -0500
committerSebastian Graf <sebastian.graf@kit.edu>2021-03-02 20:02:28 +0100
commitd793863259ed18b23ea28e9252aaec8d50929685 (patch)
tree68fa3c4d840d261d2bd980643f0082cfcbfe7c34 /compiler/Language/Haskell
parent4e28f467b8fe4530dc488ae2577e3100164affa2 (diff)
downloadhaskell-wip/T14422.tar.gz
An initial attempt at type-directed COMPLETE pragmas.wip/T14422
Implement some suggestions from Sebastian Graf Fix a test, add another cmScrutineeType -> cmResultType, and change/add documentation Simplify PmAltConSet to not include type information
Diffstat (limited to 'compiler/Language/Haskell')
-rw-r--r--compiler/Language/Haskell/Syntax/Binds.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/Language/Haskell/Syntax/Binds.hs b/compiler/Language/Haskell/Syntax/Binds.hs
index 6f7283be86..b2c7c4ab09 100644
--- a/compiler/Language/Haskell/Syntax/Binds.hs
+++ b/compiler/Language/Haskell/Syntax/Binds.hs
@@ -780,7 +780,7 @@ data Sig pass
| CompleteMatchSig (XCompleteMatchSig pass)
SourceText
(XRec pass [LIdP pass])
- (Maybe (LIdP pass))
+ (Maybe (HsPatSigType pass))
| XSig !(XXSig pass)
-- | Located Fixity Signature