Skip to content

Conversation

dongjiang1989
Copy link

@dongjiang1989 dongjiang1989 commented Jan 22, 2025

When I used the gen-crd-api-reference-docs tool, I found a warning and found that it had been fixed in gengo, and verified that the warning no longer appeared.

ref: https://tip.golang.org/doc/go1.23#gotypespkggotypes

some warning:

W1015 16:21:58.244775   18153 parse.go:769] Making unsupported type entry "any" for: &types.Alias{obj:(*types.TypeName)(0x140001beb90), orig:(*types.Alias)(0x140001900c0), tparams:(*types.TypeParamList)(nil), targs:(*types.TypeList)(nil), fromRHS:(*types.Interface)(0x140001beaf0), actual:(*types.Interface)(0x140001beaf0)}
W1015 16:21:58.245160   18153 parse.go:769] Making unsupported type entry "reflect.uncommonType" for: &types.Alias{obj:(*types.TypeName)(0x14009946cd0), orig:(*types.Alias)(0x14004608780), tparams:(*types.TypeParamList)(nil), targs:(*types.TypeList)(nil), fromRHS:(*types.Named)(0x1400088ea80), actual:(*types.Named)(0x1400088ea80)}

Fixed in k8s.io/gengo/v2: kubernetes/gengo#274

@dongjiang1989 dongjiang1989 changed the title fix: k8s.io/gengo/v2 unsupported type warning fix: update k8s.io/gengo/v2 version to fix unsupported type warning Jan 22, 2025
@dongjiang1989
Copy link
Author

cc @ahmetb PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant