Skip to content

Commit

Permalink
typesutil: SetDebug
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Oct 20, 2023
1 parent 136ce0d commit 4974a27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gopls/internal/goxls/typesutil/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ func NewChecker(conf *types.Config, opts *Config, goInfo *types.Info, gopInfo *I
}
return typesutil.NewChecker(conf, chkOpts, goInfo, gopInfo)
}

func init() {
typesutil.SetDebug(typesutil.DbgFlagDefault)
}

0 comments on commit 4974a27

Please sign in to comment.