From dd745ec14bc7518bb8d1c06bf50d6e092c3bed54 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 2 Oct 2024 09:52:01 -0700 Subject: [PATCH] gopls/internal/test/marker: update regression test issue68918.txt The fix for golang/go#69092 produces an extra error message in Go 1.24. Ignore it. Updates golang/go#68918. Updates golang/go#69092. Change-Id: I41ecff6fe916a04ed943e29ad10184d340ef84d5 Reviewed-on: https://go-review.googlesource.com/c/tools/+/617475 Reviewed-by: Alan Donovan Reviewed-by: Robert Griesemer Auto-Submit: Alan Donovan LUCI-TryBot-Result: Go LUCI --- .../internal/test/marker/testdata/highlight/issue68918.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gopls/internal/test/marker/testdata/highlight/issue68918.txt b/gopls/internal/test/marker/testdata/highlight/issue68918.txt index ff2afc18f07..b6ffb882df4 100644 --- a/gopls/internal/test/marker/testdata/highlight/issue68918.txt +++ b/gopls/internal/test/marker/testdata/highlight/issue68918.txt @@ -1,6 +1,12 @@ Regression test for https://github.com/golang/go/issues/68918: crash due to missing type information in CompositeLit. +The corresponding go/types fix in Go 1.24 introduces a +new error message, hence the -ignore_extra_diags flag. + +-- flags -- +-ignore_extra_diags + -- a.go -- package a