Repository: go
Issue: x/tools/gopls: fillstruct on file with syntax error deletes most of the file
Labels: NeedsInvestigation,gopls,Tools,gopls/parsing,Refactoring

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### gopls version

<!--
Output of `gopls -v version` on the command line
-->
<details>
```
Build info
----------
golang.org/x/tools/gopls v0.8.3
    golang.org/x/tools/gopls@v0.8.3 h1:Mxm94ix8oSARQ6svioO6SxKEYWT/VCP54/448LOHzrk=
    github.com/BurntSushi/toml@v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU=
    github.com/google/go-cmp@v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o=
    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
    golang.org/x/exp/typeparams@v0.0.0-20220218215828-6cf2b201936e h1:qyrTQ++p1afMkO4DPEeLGq/3oTsdlvdH4vqZUBWzUKM=
    golang.org/x/mod@v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 h1:kQgndtyPBW/JIYERgdxfwMYh3AVStj88WQTlNDi2a+o=
    golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
    golang.org/x/sys@v0.0.0-20220209214540-3681064d5158 h1:rm+CHSpPEEW2IsXUib1ThaHIjuBVZjxNgSKmBLFfD4c=
    golang.org/x/text@v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
    golang.org/x/tools@v0.1.11-0.20220407163324-91bcfb1bdf9c h1:rYiuK/jn6TCxjAq1hQ6MR6pgOeP3A5gIHDxgrQ8Vbys=
    golang.org/x/vuln@v0.0.0-20220324005316-18fd808f5c7f h1:9dMzk88fnONra7zrEalqkRMGa9jMGf9B5mdzhYVyI28=
    golang.org/x/xerrors@v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
    honnef.co/go/tools@v0.3.0 h1:2LdYUZ7CIxnYgskbUZfY7FPggmqnh6shBqfWa8Tn3XU=
    mvdan.cc/gofumpt@v0.3.0 h1:kTojdZo9AcEYbQYhGuLf/zszYthRdhDNDUi2JKTxas4=
    mvdan.cc/xurls/v2@v2.4.0 h1:tzxjVAj+wSBmDcF6zBB7/myTy3gX9xvi8Tyr28AuQgc=
go: go1.18.1
```
</details>

### go env

<!--
Output of `go env` on the command line in your workspace directory
-->
<details>
```
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/suzmue/Library/Caches/go-build"
GOENV="/Users/suzmue/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/suzmue/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/suzmue/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.18.1"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/suzmue/cryptopals/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
```
</details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is better.
A failing unit test is the best.
-->

Called fillstruct on a test case.

main_test.go (before):
```
package main

import (
	"reflect"
	"testing"
)

func TestHexToBytes(t *testing.T) {
	type args struct {
		s string
	}
	tests := []struct {
		name    string
		args    args
		want    []byte
		wantErr bool
	}{
		{
			name:    , // Cursor here and run fillstruct
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			got, err := HexToBytes(tt.args.s)
			if (err != nil) != tt.wantErr {
				t.Errorf("HexToBytes() error = %v, wantErr %v", err, tt.wantErr)
				return
			}
			if !reflect.DeepEqual(got, tt.want) {
				t.Errorf("HexToBytes() = %v, want %v", got, tt.want)
			}
		})
	}
}

```


### What did you expect to see?
value filled in for args, or no change if it was unable to do so.

### What did you see instead?
main_test.go:
```
package main

import (
	"reflect"
	"testing"
)

func TestHexToBytes(t *testing.T) {
	type args struct {
		s string
	}
	tests := []struct {
		name    string
		args    args
		want    []byte
		wantErr bool
	}{
		{
			name: BadExpr,
			args:    args{},
			want:    []byte{},
			wantErr: false,
		})
	}
}
```


### Editor and settings

<!--
Your editor and any settings you have configured (for example, your VSCode settings.json file)
-->
VS Code 1.66.2
dfd34e8260c270da74b5c2d86d61aee4b6d56977
x64

### Logs

<!--
If possible please include gopls logs. Instructions for capturing them can be found here:
https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md#capture-logs
-->
<details?
<pre>
[Trace - 16:18:29.282 PM] Sending request 'initialize - (0)'.
Params: {"processId":46956,"clientInfo":{"name":"Visual Studio Code","version":"1.66.2"},"locale":"en-us","rootPath":"/Users/suzmue/cryptopals","rootUri":"file:///Users/suzmue/cryptopals","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"changeAnnotationSupport":{"groupsOnLabel":true}},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"codeLens":{"refreshSupport":true},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true,"semanticTokens":{"refreshSupport":true},"fileOperations":{"dynamicRegistration":true,"didCreate":true,"didRename":true,"didDelete":true,"willCreate":true,"willRename":true,"willDelete":true}},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"codeDescriptionSupport":true,"dataSupport":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"insertTextModeSupport":{"valueSet":[1,2]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true,"tagSupport":{"valueSet":[1]},"labelSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"disabledSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"honorsChangeAnnotations":false},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1,"honorsChangeAnnotations":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"],"requests":{"range":true,"full":{"delta":true}},"multilineTokenSupport":false,"overlappingTokenSupport":false},"linkedEditingRange":{"dynamicRegistration":true}},"window":{"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"showDocument":{"support":true},"workDoneProgress":true},"general":{"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"markdown":{"parser":"marked","version":"1.1.0"}}},"initializationOptions":{"ui.semanticTokens":true},"trace":"off","workspaceFolders":[{"uri":"file:///Users/suzmue/cryptopals","name":"cryptopals"}]}


[Trace - 16:18:29.284 PM] Received response 'initialize - (0)' in 1ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."],"completionItem":{}},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.rewrite","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.apply_fix","gopls.check_upgrades","gopls.edit_go_directive","gopls.gc_details","gopls.generate","gopls.generate_gopls_mod","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.regenerate_cgo","gopls.remove_dependency","gopls.run_tests","gopls.run_vulncheck_exp","gopls.start_debugging","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor"]},"callHierarchyProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"go1.18.1\",\"Path\":\"golang.org/x/tools/gopls\",\"Main\":{\"Path\":\"golang.org/x/tools/gopls\",\"Version\":\"v0.8.3\",\"Sum\":\"h1:Mxm94ix8oSARQ6svioO6SxKEYWT/VCP54/448LOHzrk=\",\"Replace\":null},\"Deps\":[{\"Path\":\"github.com/BurntSushi/toml\",\"Version\":\"v1.0.0\",\"Sum\":\"h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU=\",\"Replace\":null},{\"Path\":\"github.com/google/go-cmp\",\"Version\":\"v0.5.7\",\"Sum\":\"h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o=\",\"Replace\":null},{\"Path\":\"github.com/sergi/go-diff\",\"Version\":\"v1.1.0\",\"Sum\":\"h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\",\"Replace\":null},{\"Path\":\"golang.org/x/exp/typeparams\",\"Version\":\"v0.0.0-20220218215828-6cf2b201936e\",\"Sum\":\"h1:qyrTQ++p1afMkO4DPEeLGq/3oTsdlvdH4vqZUBWzUKM=\",\"Replace\":null},{\"Path\":\"golang.org/x/mod\",\"Version\":\"v0.6.0-dev.0.20220106191415-9b9b3d81d5e3\",\"Sum\":\"h1:kQgndtyPBW/JIYERgdxfwMYh3AVStj88WQTlNDi2a+o=\",\"Replace\":null},{\"Path\":\"golang.org/x/sync\",\"Version\":\"v0.0.0-20210220032951-036812b2e83c\",\"Sum\":\"h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=\",\"Replace\":null},{\"Path\":\"golang.org/x/sys\",\"Version\":\"v0.0.0-20220209214540-3681064d5158\",\"Sum\":\"h1:rm+CHSpPEEW2IsXUib1ThaHIjuBVZjxNgSKmBLFfD4c=\",\"Replace\":null},{\"Path\":\"golang.org/x/text\",\"Version\":\"v0.3.7\",\"Sum\":\"h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=\",\"Replace\":null},{\"Path\":\"golang.org/x/tools\",\"Version\":\"v0.1.11-0.20220407163324-91bcfb1bdf9c\",\"Sum\":\"h1:rYiuK/jn6TCxjAq1hQ6MR6pgOeP3A5gIHDxgrQ8Vbys=\",\"Replace\":null},{\"Path\":\"golang.org/x/vuln\",\"Version\":\"v0.0.0-20220324005316-18fd808f5c7f\",\"Sum\":\"h1:9dMzk88fnONra7zrEalqkRMGa9jMGf9B5mdzhYVyI28=\",\"Replace\":null},{\"Path\":\"golang.org/x/xerrors\",\"Version\":\"v0.0.0-20200804184101-5ec99f83aff1\",\"Sum\":\"h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=\",\"Replace\":null},{\"Path\":\"honnef.co/go/tools\",\"Version\":\"v0.3.0\",\"Sum\":\"h1:2LdYUZ7CIxnYgskbUZfY7FPggmqnh6shBqfWa8Tn3XU=\",\"Replace\":null},{\"Path\":\"mvdan.cc/gofumpt\",\"Version\":\"v0.3.0\",\"Sum\":\"h1:kTojdZo9AcEYbQYhGuLf/zszYthRdhDNDUi2JKTxas4=\",\"Replace\":null},{\"Path\":\"mvdan.cc/xurls/v2\",\"Version\":\"v2.4.0\",\"Sum\":\"h1:tzxjVAj+wSBmDcF6zBB7/myTy3gX9xvi8Tyr28AuQgc=\",\"Replace\":null}],\"Settings\":[{\"Key\":\"-compiler\",\"Value\":\"gc\"},{\"Key\":\"CGO_ENABLED\",\"Value\":\"1\"},{\"Key\":\"CGO_CFLAGS\",\"Value\":\"\"},{\"Key\":\"CGO_CPPFLAGS\",\"Value\":\"\"},{\"Key\":\"CGO_CXXFLAGS\",\"Value\":\"\"},{\"Key\":\"CGO_LDFLAGS\",\"Value\":\"\"},{\"Key\":\"GOARCH\",\"Value\":\"amd64\"},{\"Key\":\"GOOS\",\"Value\":\"darwin\"},{\"Key\":\"GOAMD64\",\"Value\":\"v1\"}],\"Version\":\"v0.8.3\"}"}}


[Trace - 16:18:29.292 PM] Sending notification 'initialized'.
Params: {}


[Trace - 16:18:29.292 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go","languageId":"go","version":1,"text":"package main\n\nimport (\n\t\"reflect\"\n\t\"testing\"\n)\n\nfunc TestHexToBytes(t *testing.T) {\n\ttype args struct {\n\t\ts string\n\t}\n\ttests := []struct {\n\t\tname    string\n\t\targs    args\n\t\twant    []byte\n\t\twantErr bool\n\t}{\n\t\t{\n\t\t\tname:   ,\n\t\t},\n\t}\n\tfor _, tt := range tests {\n\t\tt.Run(tt.name, func(t *testing.T) {\n\t\t\tgot, err := HexToBytes(tt.args.s)\n\t\t\tif (err != nil) != tt.wantErr {\n\t\t\t\tt.Errorf(\"HexToBytes() error = %v, wantErr %v\", err, tt.wantErr)\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif !reflect.DeepEqual(got, tt.want) {\n\t\t\t\tt.Errorf(\"HexToBytes() = %v, want %v\", got, tt.want)\n\t\t\t}\n\t\t})\n\t}\n}\n"}}


[Trace - 16:18:29.292 PM] Received request 'window/workDoneProgress/create - (1)'.
Params: {"token":"5577006791947779410"}


[Trace - 16:18:29.296 PM] Sending response 'window/workDoneProgress/create - (1)' in 3ms.
Result: 


[Trace - 16:18:29.296 PM] Received notification '$/progress'.
Params: {"token":"5577006791947779410","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}


[Trace - 16:18:29.296 PM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///Users/suzmue/cryptopals","section":"gopls"}]}


[Trace - 16:18:29.312 PM] Sending response 'workspace/configuration - (2)' in 16ms.
Result: [{"ui.semanticTokens":true}]


[Trace - 16:18:29.312 PM] Sending request 'textDocument/codeAction - (1)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"context":{"diagnostics":[]}}


[Trace - 16:18:29.317 PM] Sending request 'textDocument/documentLink - (2)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:29.331 PM] Sending request 'textDocument/documentSymbol - (3)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:29.351 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2022/04/22 16:18:29 go env for /Users/suzmue/cryptopals\n(root /Users/suzmue/cryptopals)\n(go version go version go1.18.1 darwin/amd64)\n(valid build configuration = true)\n(build flags: [])\nGONOSUMDB=\nGOROOT=/usr/local/go\nGOSUMDB=sum.golang.org\nGONOPROXY=\nGOPATH=/Users/suzmue/go\nGOFLAGS=\nGOPRIVATE=\nGOWORK=\nGO111MODULE=\nGOCACHE=/Users/suzmue/Library/Caches/go-build\nGOMODCACHE=/Users/suzmue/go/pkg/mod\nGOPROXY=https://proxy.golang.org,direct\nGOMOD=/Users/suzmue/cryptopals/go.mod\nGOINSECURE=\n\n"}


[Info  - 4:18:29 PM] 2022/04/22 16:18:29 go env for /Users/suzmue/cryptopals
(root /Users/suzmue/cryptopals)
(go version go version go1.18.1 darwin/amd64)
(valid build configuration = true)
(build flags: [])
GONOSUMDB=
GOROOT=/usr/local/go
GOSUMDB=sum.golang.org
GONOPROXY=
GOPATH=/Users/suzmue/go
GOFLAGS=
GOPRIVATE=
GOWORK=
GO111MODULE=
GOCACHE=/Users/suzmue/Library/Caches/go-build
GOMODCACHE=/Users/suzmue/go/pkg/mod
GOPROXY=https://proxy.golang.org,direct
GOMOD=/Users/suzmue/cryptopals/go.mod
GOINSECURE=


[Trace - 16:18:29.438 PM] Sending notification '$/cancelRequest'.
Params: {"id":2}


[Trace - 16:18:29.444 PM] Sending request 'textDocument/documentLink - (4)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:29.453 PM] Sending request 'textDocument/hover - (5)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"position":{"line":18,"character":11}}


[Trace - 16:18:29.548 PM] Sending request 'textDocument/foldingRange - (6)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:29.644 PM] Sending notification '$/cancelRequest'.
Params: {"id":5}


[Trace - 16:18:29.695 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2022/04/22 16:18:29 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/suzmue/cryptopals\n\tquery=[builtin github.com/suzmue/cryptopals/...]\n\tpackages=4\n"}


[Info  - 4:18:29 PM] 2022/04/22 16:18:29 go/packages.Load
	snapshot=0
	directory=/Users/suzmue/cryptopals
	query=[builtin github.com/suzmue/cryptopals/...]
	packages=4

[Trace - 16:18:29.749 PM] Received notification '$/progress'.
Params: {"token":"5577006791947779410","value":{"kind":"end","message":"Finished loading packages."}}


[Trace - 16:18:29.751 PM] Received request 'client/registerCapability - (3)'.
Params: {"registrations":[{"id":"workspace/didChangeWatchedFiles-0","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"{/Users/suzmue/cryptopals/challenge1}","kind":7},{"globPattern":"**/*.{go,mod,sum,work}","kind":7}]}}]}


[Trace - 16:18:29.752 PM] Sending response 'client/registerCapability - (3)' in 1ms.
Result: 


[Trace - 16:18:29.753 PM] Received request 'client/registerCapability - (4)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"textDocument/semanticTokens","method":"textDocument/semanticTokens","registerOptions":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true}}]}


[Trace - 16:18:29.757 PM] Sending response 'client/registerCapability - (4)' in 3ms.
Result: 


[Trace - 16:18:29.766 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:29 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)\n\tfile=\"/Users/suzmue/cryptopals/challenge1/main_test.go\"\n"}


[Error - 4:18:29 PM] 2022/04/22 16:18:29 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)
	file="/Users/suzmue/cryptopals/challenge1/main_test.go"

[Trace - 16:18:29.792 PM] Sending request 'textDocument/hover - (7)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"position":{"line":18,"character":10}}


[Trace - 16:18:29.850 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2022/04/22 16:18:29 discovered missing identifiers: map[memRecordCycle:true pageBits:true]\n\tpackage=\"runtime\"\n"}


[Info  - 4:18:29 PM] 2022/04/22 16:18:29 discovered missing identifiers: map[memRecordCycle:true pageBits:true]
	package="runtime"

[Trace - 16:18:29.922 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go","version":1,"diagnostics":[{"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"severity":1,"source":"syntax","message":"expected operand, found ','"}]}


[Error - Received] 16:18:29.922 PM #2 JSON RPC cancelled


[Trace - 16:18:29.922 PM] Received response 'textDocument/documentSymbol - (3)' in 591ms.
Result: []


[Trace - 16:18:29.922 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:29 DocumentSymbols failed: invalid pos\n\tURI=file:///Users/suzmue/cryptopals/challenge1/main_test.go\n"}


[Trace - 16:18:29.922 PM] Received response 'textDocument/codeAction - (1)' in 609ms.
Result: [{"title":"Fill anonymous struct { name: string, args: github.com/suzmue/cryptopals/challenge1.args, ... }","kind":"refactor.rewrite","edit":{},"command":{"title":"Fill anonymous struct { name: string, args: github.com/suzmue/cryptopals/challenge1.args, ... }","command":"gopls.apply_fix","arguments":[{"Fix":"fill_struct","URI":"file:///Users/suzmue/cryptopals/challenge1/main_test.go","Range":{"start":{"line":17,"character":2},"end":{"line":31,"character":3}}}]}}]


[Trace - 16:18:29.923 PM] Received response 'textDocument/documentLink - (4)' in 479ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":9}},"target":"https://pkg.go.dev/reflect?utm_source=gopls"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":9}},"target":"https://pkg.go.dev/testing?utm_source=gopls"}]


[Error - Received] 16:18:29.923 PM #5 JSON RPC cancelled


[Trace - 16:18:29.923 PM] Received response 'textDocument/foldingRange - (6)' in 374ms.
Result: []


[Trace - 16:18:29.923 PM] Received response 'textDocument/hover - (7)' in 131ms.
Result: null


[Error - 4:18:29 PM] 2022/04/22 16:18:29 DocumentSymbols failed: invalid pos
	URI=file:///Users/suzmue/cryptopals/challenge1/main_test.go

[Trace - 16:18:29.965 PM] Sending request 'textDocument/codeAction - (8)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"context":{"diagnostics":[{"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"message":"expected operand, found ','","severity":1,"source":"syntax"}],"only":["quickfix"]}}


[Trace - 16:18:29.968 PM] Received response 'textDocument/codeAction - (8)' in 2ms.
Result: null


[Trace - 16:18:29.968 PM] Sending request 'textDocument/codeLens - (9)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:29.968 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:29 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)\n\tfile=\"/Users/suzmue/cryptopals/challenge1/main_test.go\"\n"}


[Error - 4:18:29 PM] 2022/04/22 16:18:29 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)
	file="/Users/suzmue/cryptopals/challenge1/main_test.go"

[Trace - 16:18:29.969 PM] Received response 'textDocument/codeLens - (9)' in 0ms.
Result: null


[Trace - 16:18:30.040 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/suzmue/cryptopals/go.mod","diagnostics":[{"range":{"start":{"line":4,"character":0},"end":{"line":4,"character":32}},"severity":2,"source":"go mod tidy","message":"golang.org/x/text is not used in this module"}]}


[Trace - 16:18:30.191 PM] Sending request 'textDocument/codeAction - (10)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"context":{"diagnostics":[{"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"message":"expected operand, found ','","severity":1,"source":"syntax"}]}}


[Trace - 16:18:30.192 PM] Received response 'textDocument/codeAction - (10)' in 1ms.
Result: [{"title":"Fill anonymous struct { name: string, args: github.com/suzmue/cryptopals/challenge1.args, ... }","kind":"refactor.rewrite","edit":{},"command":{"title":"Fill anonymous struct { name: string, args: github.com/suzmue/cryptopals/challenge1.args, ... }","command":"gopls.apply_fix","arguments":[{"Fix":"fill_struct","URI":"file:///Users/suzmue/cryptopals/challenge1/main_test.go","Range":{"start":{"line":17,"character":2},"end":{"line":31,"character":3}}}]}}]


[Trace - 16:18:30.193 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:30 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)\n\tfile=\"/Users/suzmue/cryptopals/challenge1/main_test.go\"\n"}


[Error - 4:18:30 PM] 2022/04/22 16:18:30 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)
	file="/Users/suzmue/cryptopals/challenge1/main_test.go"

[Trace - 16:18:30.287 PM] Sending request 'textDocument/semanticTokens/range - (11)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"range":{"start":{"line":0,"character":0},"end":{"line":34,"character":0}}}


[Trace - 16:18:30.287 PM] Received response 'textDocument/semanticTokens/range - (11)' in 0ms.
Result: {"resultId":"2022-04-22 16:18:30.287701 -0400 EDT m=+1.055380918","data":[0,0,7,15,0,0,8,4,0,0,2,0,6,15,0,1,2,7,0,0,1,2,7,0,0,3,0,4,15,0,0,5,14,12,2,0,15,1,7,2,0,2,1,21,0,0,1,7,0,0,0,8,1,1,0,1,1,4,15,0,0,5,4,1,2,0,5,6,15,0,1,2,1,8,2,0,2,6,1,512,2,1,5,8,2,0,6,2,21,0,0,5,6,15,0,1,2,4,8,2,0,8,6,1,512,1,2,4,8,2,0,8,4,1,0,1,2,4,8,2,0,10,4,1,512,1,2,7,8,2,0,8,4,1,512,3,3,4,8,0,3,5,1,8,0,0,3,2,8,0,3,7,3,8,0,0,4,2,21,0,0,3,3,8,0,0,5,2,21,0,0,3,2,8,0,0,3,7,8,0,1,4,1,8,0,0,2,6,12,0,0,7,37,18,0,0,39,3,8,0,0,5,2,8,0,0,3,7,8,0,3,6,1,21,0,0,1,7,8,0,0,8,9,12,0,0,10,3,8,0,0,5,2,8,0,0,3,4,8,0,1,4,1,8,0,0,2,6,12,0,0,7,28,18,0,0,30,3,8,0,0,5,2,8,0,0,3,4,8,0]}


[Trace - 16:18:30.347 PM] Sending request 'textDocument/codeAction - (12)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"context":{"diagnostics":[{"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"message":"expected operand, found ','","severity":1,"source":"syntax"}]}}


[Trace - 16:18:30.348 PM] Received response 'textDocument/codeAction - (12)' in 0ms.
Result: [{"title":"Fill anonymous struct { name: string, args: github.com/suzmue/cryptopals/challenge1.args, ... }","kind":"refactor.rewrite","edit":{},"command":{"title":"Fill anonymous struct { name: string, args: github.com/suzmue/cryptopals/challenge1.args, ... }","command":"gopls.apply_fix","arguments":[{"Fix":"fill_struct","URI":"file:///Users/suzmue/cryptopals/challenge1/main_test.go","Range":{"start":{"line":17,"character":2},"end":{"line":31,"character":3}}}]}}]


[Trace - 16:18:30.348 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:30 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)\n\tfile=\"/Users/suzmue/cryptopals/challenge1/main_test.go\"\n"}


[Error - 4:18:30 PM] 2022/04/22 16:18:30 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)
	file="/Users/suzmue/cryptopals/challenge1/main_test.go"

[Trace - 16:18:30.479 PM] Sending request 'textDocument/semanticTokens/full - (13)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:30.480 PM] Received response 'textDocument/semanticTokens/full - (13)' in 0ms.
Result: {"resultId":"2022-04-22 16:18:30.480183 -0400 EDT m=+1.247862162","data":[0,0,7,15,0,0,8,4,0,0,2,0,6,15,0,1,2,7,0,0,1,2,7,0,0,3,0,4,15,0,0,5,14,12,2,0,15,1,7,2,0,2,1,21,0,0,1,7,0,0,0,8,1,1,0,1,1,4,15,0,0,5,4,1,2,0,5,6,15,0,1,2,1,8,2,0,2,6,1,512,2,1,5,8,2,0,6,2,21,0,0,5,6,15,0,1,2,4,8,2,0,8,6,1,512,1,2,4,8,2,0,8,4,1,0,1,2,4,8,2,0,10,4,1,512,1,2,7,8,2,0,8,4,1,512,3,3,4,8,0,3,5,1,8,0,0,3,2,8,0,3,7,3,8,0,0,4,2,21,0,0,3,3,8,0,0,5,2,21,0,0,3,2,8,0,0,3,7,8,0,1,4,1,8,0,0,2,6,12,0,0,7,37,18,0,0,39,3,8,0,0,5,2,8,0,0,3,7,8,0,3,6,1,21,0,0,1,7,8,0,0,8,9,12,0,0,10,3,8,0,0,5,2,8,0,0,3,4,8,0,1,4,1,8,0,0,2,6,12,0,0,7,28,18,0,0,30,3,8,0,0,5,2,8,0,0,3,4,8,0]}


[Trace - 16:18:31.222 PM] Sending request 'textDocument/hover - (14)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"position":{"line":18,"character":10}}


[Trace - 16:18:31.222 PM] Received response 'textDocument/hover - (14)' in 0ms.
Result: null


[Trace - 16:18:31.377 PM] Sending request 'textDocument/codeAction - (15)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"context":{"diagnostics":[{"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"message":"expected operand, found ','","severity":1,"source":"syntax"}],"only":["quickfix"]}}


[Trace - 16:18:31.377 PM] Received response 'textDocument/codeAction - (15)' in 0ms.
Result: null


[Trace - 16:18:31.377 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:31 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)\n\tfile=\"/Users/suzmue/cryptopals/challenge1/main_test.go\"\n"}


[Error - 4:18:31 PM] 2022/04/22 16:18:31 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)
	file="/Users/suzmue/cryptopals/challenge1/main_test.go"

[Trace - 16:18:33.306 PM] Sending request 'textDocument/codeAction - (16)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"context":{"diagnostics":[{"range":{"start":{"line":18,"character":11},"end":{"line":18,"character":11}},"message":"expected operand, found ','","severity":1,"source":"syntax"}]}}


[Trace - 16:18:33.306 PM] Received response 'textDocument/codeAction - (16)' in 0ms.
Result: [{"title":"Fill anonymous struct { name: string, args: github.com/suzmue/cryptopals/challenge1.args, ... }","kind":"refactor.rewrite","edit":{},"command":{"title":"Fill anonymous struct { name: string, args: github.com/suzmue/cryptopals/challenge1.args, ... }","command":"gopls.apply_fix","arguments":[{"Fix":"fill_struct","URI":"file:///Users/suzmue/cryptopals/challenge1/main_test.go","Range":{"start":{"line":17,"character":2},"end":{"line":31,"character":3}}}]}}]


[Trace - 16:18:33.307 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:33 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)\n\tfile=\"/Users/suzmue/cryptopals/challenge1/main_test.go\"\n"}


[Error - 4:18:33 PM] 2022/04/22 16:18:33 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:19:12: expected operand, found ',' (and 19 more errors)
	file="/Users/suzmue/cryptopals/challenge1/main_test.go"

[Trace - 16:18:34.371 PM] Sending request 'workspace/executeCommand - (17)'.
Params: {"command":"gopls.apply_fix","arguments":[{"Fix":"fill_struct","URI":"file:///Users/suzmue/cryptopals/challenge1/main_test.go","Range":{"start":{"line":17,"character":2},"end":{"line":31,"character":3}}}]}


[Trace - 16:18:34.372 PM] Received request 'workspace/applyEdit - (5)'.
Params: {"edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"edits":[{"range":{"start":{"line":17,"character":2},"end":{"line":31,"character":3}},"newText":"{\n\t\t\tname: BadExpr,\n\t\t\targs:    args{},\n\t\t\twant:    []byte{},\n\t\t\twantErr: false,\n\t\t}"}]}]}}


[Trace - 16:18:34.413 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go","version":2},"contentChanges":[{"range":{"start":{"line":29,"character":47},"end":{"line":30,"character":4}},"rangeLength":14,"text":""},{"range":{"start":{"line":29,"character":23},"end":{"line":29,"character":46}},"rangeLength":23,"text":""},{"range":{"start":{"line":28,"character":24},"end":{"line":29,"character":22}},"rangeLength":39,"text":"s"},{"range":{"start":{"line":28,"character":10},"end":{"line":28,"character":22}},"rangeLength":12,"text":""},{"range":{"start":{"line":28,"character":6},"end":{"line":28,"character":9}},"rangeLength":3,"text":""},{"range":{"start":{"line":26,"character":9},"end":{"line":28,"character":5}},"rangeLength":12,"text":":"},{"range":{"start":{"line":26,"character":5},"end":{"line":26,"character":8}},"rangeLength":3,"text":""},{"range":{"start":{"line":25,"character":65},"end":{"line":26,"character":4}},"rangeLength":8,"text":""},{"range":{"start":{"line":25,"character":3},"end":{"line":25,"character":60}},"rangeLength":57,"text":""},{"range":{"start":{"line":24,"character":34},"end":{"line":24,"character":34}},"rangeLength":0,"text":"},"},{"range":{"start":{"line":23,"character":24},"end":{"line":24,"character":33}},"rangeLength":46,"text":""},{"range":{"start":{"line":23,"character":12},"end":{"line":23,"character":21}},"rangeLength":9,"text":"[]b"},{"range":{"start":{"line":23,"character":8},"end":{"line":23,"character":11}},"rangeLength":3,"text":""},{"range":{"start":{"line":22,"character":36},"end":{"line":23,"character":7}},"rangeLength":9,"text":""},{"range":{"start":{"line":22,"character":24},"end":{"line":22,"character":35}},"rangeLength":11,"text":""},{"range":{"start":{"line":22,"character":23},"end":{"line":22,"character":23}},"rangeLength":0,"text":":"},{"range":{"start":{"line":22,"character":20},"end":{"line":22,"character":22}},"rangeLength":2,"text":""},{"range":{"start":{"line":22,"character":13},"end":{"line":22,"character":19}},"rangeLength":6,"text":""},{"range":{"start":{"line":22,"character":2},"end":{"line":22,"character":12}},"rangeLength":10,"text":"\tw"},{"range":{"start":{"line":21,"character":27},"end":{"line":21,"character":27}},"rangeLength":0,"text":"},"},{"range":{"start":{"line":21,"character":23},"end":{"line":21,"character":26}},"rangeLength":3,"text":""},{"range":{"start":{"line":21,"character":18},"end":{"line":21,"character":22}},"rangeLength":4,"text":""},{"range":{"start":{"line":21,"character":16},"end":{"line":21,"character":17}},"rangeLength":1,"text":"r"},{"range":{"start":{"line":21,"character":14},"end":{"line":21,"character":15}},"rangeLength":1,"text":""},{"range":{"start":{"line":21,"character":11},"end":{"line":21,"character":13}},"rangeLength":2,"text":""},{"range":{"start":{"line":21,"character":8},"end":{"line":21,"character":10}},"rangeLength":2,"text":""},{"range":{"start":{"line":21,"character":5},"end":{"line":21,"character":7}},"rangeLength":2,"text":""},{"range":{"start":{"line":21,"character":4},"end":{"line":21,"character":4}},"rangeLength":0,"text":"gs:"},{"range":{"start":{"line":20,"character":1},"end":{"line":21,"character":3}},"rangeLength":5,"text":"a"},{"range":{"start":{"line":19,"character":2},"end":{"line":20,"character":0}},"rangeLength":3,"text":""},{"range":{"start":{"line":18,"character":9},"end":{"line":18,"character":11}},"rangeLength":2,"text":"BadExpr"}]}


[Trace - 16:18:34.413 PM] Sending response 'workspace/applyEdit - (5)' in 41ms.
Result: {"applied":true}


[Trace - 16:18:34.413 PM] Received response 'workspace/executeCommand - (17)' in 42ms.
Result: null


[Trace - 16:18:34.416 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go","version":2,"diagnostics":[{"range":{"start":{"line":22,"character":3},"end":{"line":22,"character":3}},"severity":1,"source":"syntax","message":"missing ',' in composite literal"}]}


[Trace - 16:18:34.424 PM] Sending request 'textDocument/documentSymbol - (18)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:34.424 PM] Sending request 'textDocument/codeAction - (19)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"range":{"start":{"line":18,"character":16},"end":{"line":18,"character":16}},"context":{"diagnostics":[]}}


[Trace - 16:18:34.425 PM] Received response 'textDocument/documentSymbol - (18)' in 0ms.
Result: []


[Trace - 16:18:34.425 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:34 DocumentSymbols failed: invalid pos\n\tURI=file:///Users/suzmue/cryptopals/challenge1/main_test.go\n"}


[Trace - 16:18:34.425 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:34 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:23:4: missing ',' in composite literal (and 6 more errors)\n\tfile=\"/Users/suzmue/cryptopals/challenge1/main_test.go\"\n"}


[Trace - 16:18:34.425 PM] Received response 'textDocument/codeAction - (19)' in 0ms.
Result: null


[Error - 4:18:34 PM] 2022/04/22 16:18:34 DocumentSymbols failed: invalid pos
	URI=file:///Users/suzmue/cryptopals/challenge1/main_test.go

[Error - 4:18:34 PM] 2022/04/22 16:18:34 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:23:4: missing ',' in composite literal (and 6 more errors)
	file="/Users/suzmue/cryptopals/challenge1/main_test.go"

[Trace - 16:18:34.597 PM] Sending request 'textDocument/foldingRange - (20)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:34.598 PM] Received response 'textDocument/foldingRange - (20)' in 0ms.
Result: []


[Trace - 16:18:34.656 PM] Sending request 'textDocument/codeLens - (21)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:34.656 PM] Received response 'textDocument/codeLens - (21)' in 0ms.
Result: null


[Trace - 16:18:34.677 PM] Sending request 'textDocument/codeAction - (22)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"},"range":{"start":{"line":18,"character":16},"end":{"line":18,"character":16}},"context":{"diagnostics":[]}}


[Trace - 16:18:34.677 PM] Received response 'textDocument/codeAction - (22)' in 0ms.
Result: null


[Trace - 16:18:34.677 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/04/22 16:18:34 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:23:4: missing ',' in composite literal (and 6 more errors)\n\tfile=\"/Users/suzmue/cryptopals/challenge1/main_test.go\"\n"}


[Error - 4:18:34 PM] 2022/04/22 16:18:34 imports fixes: AllImportsFixes: /Users/suzmue/cryptopals/challenge1/main_test.go:23:4: missing ',' in composite literal (and 6 more errors)
	file="/Users/suzmue/cryptopals/challenge1/main_test.go"

[Trace - 16:18:34.692 PM] Sending request 'textDocument/semanticTokens/full - (23)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:34.692 PM] Received response 'textDocument/semanticTokens/full - (23)' in 0ms.
Result: {"resultId":"2022-04-22 16:18:34.692951 -0400 EDT m=+5.460614144","data":[0,0,7,15,0,0,8,4,0,0,2,0,6,15,0,1,2,7,0,0,1,2,7,0,0,3,0,4,15,0,0,5,14,12,2,0,15,1,7,2,0,2,1,21,0,0,1,7,0,0,0,8,1,1,0,1,1,4,15,0,0,5,4,1,2,0,5,6,15,0,1,2,1,8,2,0,2,6,1,512,2,1,5,8,2,0,6,2,21,0,0,5,6,15,0,1,2,4,8,2,0,8,6,1,512,1,2,4,8,2,0,8,4,1,0,1,2,4,8,2,0,10,4,1,512,1,2,7,8,2,0,8,4,1,512,3,3,4,8,0,0,6,7,8,0,1,3,4,8,0,0,9,4,1,0,1,3,4,8,0,0,11,4,1,512,1,3,7,8,0,0,9,5,8,4]}


[Trace - 16:18:35.400 PM] Sending request 'textDocument/documentLink - (24)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/cryptopals/challenge1/main_test.go"}}


[Trace - 16:18:35.401 PM] Received response 'textDocument/documentLink - (24)' in 0ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":9}},"target":"https://pkg.go.dev/reflect?utm_source=gopls"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":9}},"target":"https://pkg.go.dev/testing?utm_source=gopls"}]

</pre>
</details>