Skip to content

Commit

Permalink
unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjit-bhat committed Jun 26, 2024
1 parent b2ae939 commit 32f46e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (ctx Ctx) arrayType(e *ast.ArrayType) coq.Type {
return coq.SliceType{Value: ctx.coqType(e.Elt)}
}

func (ctx Ctx) ptrType(e *ast.StarExpr) coq.Type {
func (ctx Ctx) ptrType() coq.Type {
return coq.PtrType{}
}

Expand Down Expand Up @@ -176,7 +176,7 @@ func (ctx Ctx) coqType(e ast.Expr) coq.Type {
case *ast.ArrayType:
return ctx.arrayType(e)
case *ast.StarExpr:
return ctx.ptrType(e)
return ctx.ptrType()
case *ast.InterfaceType:
if isEmptyInterface(e) {
return coq.TypeIdent("anyT")
Expand Down

0 comments on commit 32f46e6

Please sign in to comment.