Skip to content

Commit 229397e

Browse files
committed
Gives another try for dataConInstOrigArgTys
1 parent 25ac4a9 commit 229397e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/tactics/src/Ide/Plugin/Tactic/CodeGen.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ destructMatches f f2 t jdg = do
5757
-- we just filter out class dictionaries and coercions from the result.
5858
dataConInstOrigArgTys' :: DataCon -> [Type] -> [Type]
5959
dataConInstOrigArgTys' con ty =
60-
let tys0 = dataConInstArgTys con ty
60+
let tys0 = dataConInstOrigArgTys con ty
6161
in filter (not . isPredTy) tys0
6262

6363
------------------------------------------------------------------------------

0 commit comments

Comments
 (0)