We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dataConInstOrigArgTys
1 parent 25ac4a9 commit 229397eCopy full SHA for 229397e
plugins/tactics/src/Ide/Plugin/Tactic/CodeGen.hs
@@ -57,7 +57,7 @@ destructMatches f f2 t jdg = do
57
-- we just filter out class dictionaries and coercions from the result.
58
dataConInstOrigArgTys' :: DataCon -> [Type] -> [Type]
59
dataConInstOrigArgTys' con ty =
60
- let tys0 = dataConInstArgTys con ty
+ let tys0 = dataConInstOrigArgTys con ty
61
in filter (not . isPredTy) tys0
62
63
------------------------------------------------------------------------------
0 commit comments