Skip to content

Commit 7fd17e6

Browse files
committed
Use dataConInstOrigArgTys instead also in buildDataCon
1 parent d8d7f4c commit 7fd17e6

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
@@ -85,7 +85,7 @@ buildDataCon
8585
-> [Type] -- ^ Type arguments for the data con
8686
-> RuleM (LHsExpr GhcPs)
8787
buildDataCon jdg dc apps = do
88-
let args = dataConInstArgTys dc apps
88+
let args = dataConInstOrigArgTys dc apps
8989
sgs <- traverse (newSubgoal . flip withNewGoal jdg . CType) args
9090
pure
9191
. noLoc

0 commit comments

Comments
 (0)