Skip to content

Commit

Permalink
gopls/internal/test/marker: update regression test issue68918.txt
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Robert Griesemer <[email protected]>
Auto-Submit: Alan Donovan <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
  • Loading branch information
griesemer authored and gopherbot committed Oct 2, 2024
1 parent a02ee35 commit dd745ec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gopls/internal/test/marker/testdata/highlight/issue68918.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit dd745ec

Please sign in to comment.