Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gopls for openSUSE:Factory checked 
in at 2025-02-03 21:42:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gopls (Old)
 and      /work/SRC/openSUSE:Factory/.gopls.new.2316 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gopls"

Mon Feb  3 21:42:14 2025 rev:17 rq:1241677 version:0.17.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gopls/gopls.changes      2024-12-13 
22:40:28.791423040 +0100
+++ /work/SRC/openSUSE:Factory/.gopls.new.2316/gopls.changes    2025-02-03 
21:42:33.504113794 +0100
@@ -1,0 +2,8 @@
+Fri Jan 31 05:13:20 UTC 2025 - Timothy Brown <[email protected]>
+
+- Update to version 0.17.1:
+  * gopls: update go.mod for v0.17.1-pre.1
+  * gopls/internal/cache/testfuncs: fix crash with *error argument
+  * gopls/internal/golang/completion: fix crash in instance conversion
+
+-------------------------------------------------------------------

Old:
----
  gopls-0.17.0.tar.gz

New:
----
  gopls-0.17.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gopls.spec ++++++
--- /var/tmp/diff_new_pack.6iTSMr/_old  2025-02-03 21:42:34.976174808 +0100
+++ /var/tmp/diff_new_pack.6iTSMr/_new  2025-02-03 21:42:34.980174973 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gopls
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           gopls
-Version:        0.17.0
+Version:        0.17.1
 Release:        0
 Summary:        Go LSP protocol language server
 License:        Apache-2.0 AND MIT AND BSD-3-Clause

++++++ _service ++++++
--- /var/tmp/diff_new_pack.6iTSMr/_old  2025-02-03 21:42:35.016176466 +0100
+++ /var/tmp/diff_new_pack.6iTSMr/_new  2025-02-03 21:42:35.020176631 +0100
@@ -4,7 +4,7 @@
     <param name="scm">git</param>
     <param name="include">gopls</param>
     <param name="include">LICENSE</param>
-    <param name="revision">gopls/v0.17.0</param>
+    <param name="revision">gopls/v0.17.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">gopls/v(.*)</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.6iTSMr/_old  2025-02-03 21:42:35.044177626 +0100
+++ /var/tmp/diff_new_pack.6iTSMr/_new  2025-02-03 21:42:35.048177792 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/golang/tools.git</param>
-              <param 
name="changesrevision">688577c18d7c5f2fb5165a8f63a36e8ffc4c6e11</param></service></servicedata>
+              <param 
name="changesrevision">18f6663b1eafb31b986cdf22a4f7864922976448</param></service></servicedata>
 (No newline at EOF)
 

++++++ gopls-0.17.0.tar.gz -> gopls-0.17.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gopls-0.17.0/gopls/go.mod 
new/gopls-0.17.1/gopls/go.mod
--- old/gopls-0.17.0/gopls/go.mod       2024-12-11 16:57:17.000000000 +0100
+++ new/gopls-0.17.1/gopls/go.mod       2024-12-19 18:16:07.000000000 +0100
@@ -12,7 +12,7 @@
        golang.org/x/sys v0.27.0
        golang.org/x/telemetry v0.0.0-20241106142447-58a1122356f5
        golang.org/x/text v0.20.0
-       golang.org/x/tools v0.27.1-0.20241211153006-a83c4ee29a47
+       golang.org/x/tools v0.27.1-0.20241219162658-575221bfbda3
        golang.org/x/vuln v1.0.4
        gopkg.in/yaml.v3 v3.0.1
        honnef.co/go/tools v0.5.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gopls-0.17.0/gopls/go.sum 
new/gopls-0.17.1/gopls/go.sum
--- old/gopls-0.17.0/gopls/go.sum       2024-12-11 16:57:17.000000000 +0100
+++ new/gopls-0.17.1/gopls/go.sum       2024-12-19 18:16:07.000000000 +0100
@@ -28,8 +28,8 @@
 golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug=
 golang.org/x/text v0.20.0/go.mod 
h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4=
 golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod 
h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.27.1-0.20241211153006-a83c4ee29a47 
h1:dFDhAo0DFSbmpMYZcvCfIQK9q/wH3fMI8V18Gbcnm9E=
-golang.org/x/tools v0.27.1-0.20241211153006-a83c4ee29a47/go.mod 
h1:sUi0ZgbwW9ZPAq26Ekut+weQPR5eIM6GQLQ1Yjm1H0Q=
+golang.org/x/tools v0.27.1-0.20241219162658-575221bfbda3 
h1:kgwdasJRsdDWYgWcEgMF424DiXwwXHSb3V8xVTi//i8=
+golang.org/x/tools v0.27.1-0.20241219162658-575221bfbda3/go.mod 
h1:sUi0ZgbwW9ZPAq26Ekut+weQPR5eIM6GQLQ1Yjm1H0Q=
 golang.org/x/vuln v1.0.4 h1:SP0mPeg2PmGCu03V+61EcQiOjmpri2XijexKdzv8Z1I=
 golang.org/x/vuln v1.0.4/go.mod h1:NbJdUQhX8jY++FtuhrXs2Eyx0yePo9pF7nPlIjo9aaQ=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod 
h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gopls-0.17.0/gopls/internal/cache/testfuncs/tests.go 
new/gopls-0.17.1/gopls/internal/cache/testfuncs/tests.go
--- old/gopls-0.17.0/gopls/internal/cache/testfuncs/tests.go    2024-12-11 
16:57:17.000000000 +0100
+++ new/gopls-0.17.1/gopls/internal/cache/testfuncs/tests.go    2024-12-19 
18:16:07.000000000 +0100
@@ -281,7 +281,7 @@
        }
 
        named, ok := ptr.Elem().(*types.Named)
-       if !ok || named.Obj().Pkg().Path() != "testing" {
+       if !ok || named.Obj().Pkg() == nil || named.Obj().Pkg().Path() != 
"testing" {
                return nil, false
        }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gopls-0.17.0/gopls/internal/golang/completion/completion.go 
new/gopls-0.17.1/gopls/internal/golang/completion/completion.go
--- old/gopls-0.17.0/gopls/internal/golang/completion/completion.go     
2024-12-11 16:57:17.000000000 +0100
+++ new/gopls-0.17.1/gopls/internal/golang/completion/completion.go     
2024-12-19 18:16:07.000000000 +0100
@@ -2690,7 +2690,7 @@
        return substs
 }
 
-// inferExpectedTypeArg gives a type param candidateInference based on the 
surroundings of it's call site.
+// inferExpectedTypeArg gives a type param candidateInference based on the 
surroundings of its call site.
 // If successful, the inf parameter is returned with only it's objType field 
updated.
 //
 // callNodeIdx is the index within the completion path of the type parameter's 
parent call expression.
@@ -2704,9 +2704,12 @@
        if !ok {
                return nil
        }
+       sig, ok := c.pkg.TypesInfo().Types[callNode.Fun].Type.(*types.Signature)
+       if !ok {
+               return nil
+       }
 
-       // Infer the type parameters in a function call based on it's context
-       sig := c.pkg.TypesInfo().Types[callNode.Fun].Type.(*types.Signature)
+       // Infer the type parameters in a function call based on context
        expectedResults := inferExpectedResultTypes(c, callNodeIdx)
        if typeParamIdx < 0 || typeParamIdx >= sig.TypeParams().Len() {
                return nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gopls-0.17.0/gopls/internal/test/integration/workspace/packages_test.go 
new/gopls-0.17.1/gopls/internal/test/integration/workspace/packages_test.go
--- old/gopls-0.17.0/gopls/internal/test/integration/workspace/packages_test.go 
2024-12-11 16:57:17.000000000 +0100
+++ new/gopls-0.17.1/gopls/internal/test/integration/workspace/packages_test.go 
2024-12-19 18:16:07.000000000 +0100
@@ -124,6 +124,7 @@
 package foo
 import "testing"
 func TestFoo(t *testing.T)
+func Issue70927(*error)
 
 -- foo2_test.go --
 package foo_test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gopls-0.17.0/gopls/internal/test/marker/testdata/completion/type_params.txt 
new/gopls-0.17.1/gopls/internal/test/marker/testdata/completion/type_params.txt
--- 
old/gopls-0.17.0/gopls/internal/test/marker/testdata/completion/type_params.txt 
    2024-12-11 16:57:17.000000000 +0100
+++ 
new/gopls-0.17.1/gopls/internal/test/marker/testdata/completion/type_params.txt 
    2024-12-19 18:16:07.000000000 +0100
@@ -15,11 +15,13 @@
 
 func one[a int | string]()            {}
 func two[a int | string, b float64 | int]() {}
+type three[a any] int
 
 func _() {
        one[]() //@rank("]", string, float64)
        two[]() //@rank("]", int, float64)
        two[int, f]() //@rank("]", float64, float32)
+       int(three[]) //@rank("]") // must not crash (golang/go#70889)
 }
 
 func slices[a []int | []float64]() {} //@item(tpInts, "[]int", "[]int", 
"type"),item(tpFloats, "[]float64", "[]float64", "type")

++++++ vendor.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vendor/modules.txt new/vendor/modules.txt
--- old/vendor/modules.txt      2024-12-13 00:06:21.000000000 +0100
+++ new/vendor/modules.txt      2025-01-31 06:13:30.000000000 +0100
@@ -54,7 +54,7 @@
 ## explicit; go 1.18
 golang.org/x/text/unicode/rangetable
 golang.org/x/text/unicode/runenames
-# golang.org/x/tools v0.27.1-0.20241211153006-a83c4ee29a47
+# golang.org/x/tools v0.27.1-0.20241219162658-575221bfbda3
 ## explicit; go 1.22.0
 golang.org/x/tools/go/analysis
 golang.org/x/tools/go/analysis/analysistest

Reply via email to