Skip to content

json: fix cycle detection #124

json: fix cycle detection

json: fix cycle detection #124

Triggered via pull request November 25, 2025 23:55
Status Failure
Total duration 27s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

21 errors
test (1.24): json/codec.go#L157
cannot use codec{…} (value of struct type codec) as *codec value in assignment
test (1.24): json/codec.go#L154
cannot use codec{…} (value of struct type codec) as *codec value in assignment
test (1.24): json/codec.go#L151
cannot use codec{…} (value of struct type codec) as *codec value in assignment
test (1.24): json/codec.go#L148
cannot use codec{…} (value of struct type codec) as *codec value in assignment
test (1.24): json/codec.go#L145
cannot use codec{…} (value of struct type codec) as *codec value in assignment
test (1.24): json/codec.go#L142
cannot use codec{…} (value of struct type codec) as *codec value in assignment
test (1.24): json/codec.go#L134
cannot use c (variable of type *codec) as codec value in return statement
test (1.24): json/codec.go#L108
cannot use cod (variable of struct type codec) as *codec value in assignment
test (1.24): json/codec.go#L93
cannot use c (variable of type *codec) as codec value in return statement
test (1.24): json/codec.go#L90
cannot use constructCachedCodec(t, cache) (value of struct type codec) as *codec value in assignment
test (1.23)
The strategy configuration was canceled because "test._1_24" failed
test (1.23): json/codec.go#L157
cannot use codec{…} (value of type codec) as *codec value in assignment
test (1.23): json/codec.go#L154
cannot use codec{…} (value of type codec) as *codec value in assignment
test (1.23): json/codec.go#L151
cannot use codec{…} (value of type codec) as *codec value in assignment
test (1.23): json/codec.go#L148
cannot use codec{…} (value of type codec) as *codec value in assignment
test (1.23): json/codec.go#L145
cannot use codec{…} (value of type codec) as *codec value in assignment
test (1.23): json/codec.go#L142
cannot use codec{…} (value of type codec) as *codec value in assignment
test (1.23): json/codec.go#L134
cannot use c (variable of type *codec) as codec value in return statement
test (1.23): json/codec.go#L108
cannot use cod (variable of type codec) as *codec value in assignment
test (1.23): json/codec.go#L93
cannot use c (variable of type *codec) as codec value in return statement
test (1.23): json/codec.go#L90
cannot use constructCachedCodec(t, cache) (value of type codec) as *codec value in assignment