mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Fix crash because of parallel access to ssa.Program
This commit is contained in:
parent
952cc0b22e
commit
898ae4d364
5 changed files with 24 additions and 28 deletions
|
@ -17,7 +17,8 @@ type Context struct {
|
|||
LoaderConfig *loader.Config // deprecated, don't use for new linters
|
||||
Program *loader.Program // deprecated, use Packages for new linters
|
||||
|
||||
SSAProgram *ssa.Program
|
||||
SSAProgram *ssa.Program // for unparam and interfacer: they don't change it
|
||||
MegacheckSSAProgram *ssa.Program // for megacheck: it modifies ssa program
|
||||
|
||||
Cfg *config.Config
|
||||
ASTCache *astcache.Cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue