Better code

This commit is contained in:
Martino Ferrari
2026-01-27 00:04:36 +01:00
parent 73cfc43f4b
commit aedc715ef3
2 changed files with 19 additions and 32 deletions

View File

@@ -542,11 +542,6 @@ func isValidType(t string) bool {
return false
}
func (v *Validator) checkType(val parser.Value, expectedType string) bool {
// Legacy function, replaced by CUE.
return true
}
func (v *Validator) getFileForField(f *parser.Field, node *index.ProjectNode) string {
for _, frag := range node.Fragments {
for _, def := range frag.Definitions {