We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7fd8c4 commit d34ef69Copy full SHA for d34ef69
cmd/tools/missdoc.v
@@ -103,7 +103,14 @@ fn (opt &Options) report_undocumented_functions_in_file(nfile string) {
103
if opt.deprecated {
104
println('$ofile:$line_numbers$undocumented_fn.signature $tags_str')
105
} else {
106
- if 'deprecated' !in undocumented_fn.tags {
+ mut has_deprecation_tag := false
107
+ for tag in undocumented_fn.tags {
108
+ if tag.starts_with('deprecated') {
109
+ has_deprecation_tag = true
110
+ break
111
+ }
112
113
+ if !has_deprecation_tag {
114
115
}
116
0 commit comments