1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vet: add suggestions for function documentation (#7890)

This commit is contained in:
Larpon
2021-01-10 17:48:39 +01:00
committed by GitHub
parent d96a1b8a5f
commit 93ad595ffb
10 changed files with 278 additions and 44 deletions

View File

@@ -0,0 +1,4 @@
cmd/tools/vvet/tests/module_file_test.vv:7: warning: Function documentation seems to be missing for "pub fn foo() string".
cmd/tools/vvet/tests/module_file_test.vv:13: warning: A function name is missing from the documentation of "pub fn bar() string".
cmd/tools/vvet/tests/module_file_test.vv:35: warning: Function documentation seems to be missing for "pub fn (f Foo) foo() string".
cmd/tools/vvet/tests/module_file_test.vv:46: warning: A function name is missing from the documentation of "pub fn (f Foo) fooo() string".