Skip to content

Commit

Permalink
feat: Create new type parameters with hole kind, rather than type
Browse files Browse the repository at this point in the history
Signed-off-by: George Thomas <[email protected]>
  • Loading branch information
georgefst committed Jul 26, 2023
1 parent 44cead0 commit 4798b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primer/src/Primer/Action.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ toProgActionInput def0 sel0 opt0 = \case
opt <- optNoCxt
sel <- typeSel
index <- length . astTypeDefParameters <$> typeDef -- for now, we always add on to the end
pure [AddTypeParam sel.def index opt $ C.KType ()]
pure [AddTypeParam sel.def index opt $ C.KHole ()]
where
termSel = case sel0 of
SelectionDef s -> pure s
Expand Down

0 comments on commit 4798b9b

Please sign in to comment.