Updated diff library #1398
Annotations
3 errors
golangci-lint:
llm/render_prompt.go#L229
SA1019: myers.ComputeEdits is deprecated: this implementation is moribund. However, when diffs appear in marker test expectations, they are the particular diffs produced by this implementation. The marker test framework asserts diff(orig, got)==wantDiff, but ideally it would compute got==apply(orig, wantDiff) so that the notation of the diff is immaterial. (staticcheck)
|
golangci-lint:
llm/render_prompt_test.go#L253
SA1019: myers.ComputeEdits is deprecated: this implementation is moribund. However, when diffs appear in marker test expectations, they are the particular diffs produced by this implementation. The marker test framework asserts diff(orig, got)==wantDiff, but ideally it would compute got==apply(orig, wantDiff) so that the notation of the diff is immaterial. (staticcheck)
|
golangci-lint
issues found
|
Loading