Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
components: rust-analyzer

- name: Install gopls
run: go install golang.org/x/tools/gopls@latest
run: go install golang.org/x/tools/gopls@v0.16.2

- name: Run all tests
run: go test ./lang/... -skip '${{ env.SKIPPED_TESTS }}'
1 change: 1 addition & 0 deletions lang/golang/parser/ctx.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ func GetRawContent(fset *token.FileSet, file []byte, node ast.Node, collectComme
funcName = fn.Name.Name
}
fmt.Fprintf(os.Stderr, "end < begin, file: %s, function: %s, possibly because file compilation failed\n", pos.Filename, funcName)
return nil
}
doc.Write(file[pos.Offset:endPos.Offset])
return doc.Bytes()
Expand Down
Loading