Skip to content

Commit

Permalink
Upgrade gopls to 0.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bstaletic committed Aug 16, 2024
1 parent 18af82a commit 852e40c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ def EnableGoCompleter( args ):
new_env.pop( 'GOROOT', None )
new_env[ 'GOBIN' ] = p.join( new_env[ 'GOPATH' ], 'bin' )

gopls = 'golang.org/x/tools/gopls@v0.15.3'
gopls = 'golang.org/x/tools/gopls@v0.16.1'
CheckCall( [ go, 'install', gopls ],
env = new_env,
quiet = args.quiet,
Expand Down
6 changes: 6 additions & 0 deletions ycmd/tests/go/subcommands_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ def test_Subcommands_GoToImplementation( self, app ):
RunGoToTest( app, 'GoToImplementation', test )


@ExpectedFailure(
'Gopls bug. See https://github.com/golang/go/issues/68904',
matches_regexp( 'Browse free symbols' ) )
@SharedYcmd
def test_Subcommands_FixIt_NullResponse( self, app ):
filepath = PathToTestFile( 'td', 'test.go' )
Expand All @@ -442,6 +445,9 @@ def test_Subcommands_FixIt_NullResponse( self, app ):
filepath, 1, 1, has_entry( 'fixits', empty() ) )


@ExpectedFailure(
'Gopls bug. See https://github.com/golang/go/issues/68904',
matches_regexp( 'Browse free symbols' ) )
@SharedYcmd
def test_Subcommands_FixIt_Simple( self, app ):
filepath = PathToTestFile( 'fixit.go' )
Expand Down

0 comments on commit 852e40c

Please sign in to comment.