Skip to content

Commit

Permalink
Improve -skip-interfaces support
Browse files Browse the repository at this point in the history
  • Loading branch information
tchajed committed Jan 28, 2025
1 parent 38feaa2 commit 67cf95e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions goose.go
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ func (ctx Ctx) callExpr(s *ast.CallExpr) coq.Expr {
}
// Special case for *sync.NewCond
if _, ok := s.Fun.(*ast.SelectorExpr); ok {
} else if ctx.SkipInterfaces {
} else {
if signature, ok := ctx.typeOf(s.Fun).(*types.Signature); ok {
for j := 0; j < signature.Params().Len(); j++ {
Expand Down

0 comments on commit 67cf95e

Please sign in to comment.