From 042d10a1500495f27e8639a7b0f82fd39341f2c0 Mon Sep 17 00:00:00 2001 From: Pontus Leitzler Date: Sat, 22 Feb 2020 13:23:01 +0100 Subject: [PATCH] gopls: update staticcheck to 2020.1.3 This change updates staticcheck to 2020.1.3. It fixes two bugs involving //lint:ignore directives: - When ignoring U1000 and checking a package that contains tests, Staticcheck would incorrectly complain that the linter directive didn't match any problems, even when it did. - On repeated runs, the position information for a this linter directive didn't match anything report would either be missing, or be wildly incorrect. Change-Id: I98bc57d290393d77af1ab8acf486239a8f125fac Reviewed-on: https://go-review.googlesource.com/c/tools/+/220597 Reviewed-by: Rebecca Stambler Run-TryBot: Rebecca Stambler TryBot-Result: Gobot Gobot --- gopls/go.mod | 2 +- gopls/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gopls/go.mod b/gopls/go.mod index ce67bdcbe2..f80b70e73d 100644 --- a/gopls/go.mod +++ b/gopls/go.mod @@ -6,7 +6,7 @@ require ( github.com/sergi/go-diff v1.0.0 github.com/stretchr/testify v1.4.0 // indirect golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d - honnef.co/go/tools v0.0.1-2020.1.2 + honnef.co/go/tools v0.0.1-2020.1.3 mvdan.cc/xurls/v2 v2.1.0 ) diff --git a/gopls/go.sum b/gopls/go.sum index 39e69c85a8..0d1b78070c 100644 --- a/gopls/go.sum +++ b/gopls/go.sum @@ -38,7 +38,7 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -honnef.co/go/tools v0.0.1-2020.1.2 h1:8w2Ud1JmaU9M5os2j8aKMpPs4guVq+RMUN5phK2najE= -honnef.co/go/tools v0.0.1-2020.1.2/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.3 h1:sXmLre5bzIR6ypkjXCDI3jHPssRhc8KD/Ome589sc3U= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= mvdan.cc/xurls/v2 v2.1.0 h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA= mvdan.cc/xurls/v2 v2.1.0/go.mod h1:5GrSd9rOnKOpZaji1OZLYL/yeAAtGDlo/cFe+8K5n8E=