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