Skip to content

Commit

Permalink
fix: fix trim svc (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyJavaBean authored Apr 1, 2024
1 parent 8e5212c commit 940e10a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tool/trimmer/trim/mark.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ func (t *Trimmer) traceExtendMethod(father, svc *parser.Service, ast *parser.Thr
}
}
back := t.traceExtendMethod(father, nextSvc, nextAst, filename)
if !back {
svc.Reference = nil
svc.Extends = ""
}
ret = back || ret
}
if ret {
Expand Down

0 comments on commit 940e10a

Please sign in to comment.