mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vdoc: add -comments
and new comment merger (#11221)
This commit is contained in:
7
cmd/tools/vdoc/tests/testdata/basic/main.comments.out
vendored
Normal file
7
cmd/tools/vdoc/tests/testdata/basic/main.comments.out
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
module main
|
||||
|
||||
const (
|
||||
source_root = 'temp'
|
||||
)
|
||||
fn funky()
|
||||
funky - comment for function below
|
6
cmd/tools/vdoc/tests/testdata/basic/main.out
vendored
Normal file
6
cmd/tools/vdoc/tests/testdata/basic/main.out
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
module main
|
||||
|
||||
const (
|
||||
source_root = 'temp'
|
||||
)
|
||||
fn funky()
|
8
cmd/tools/vdoc/tests/testdata/basic/main.v
vendored
Normal file
8
cmd/tools/vdoc/tests/testdata/basic/main.v
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
pub const (
|
||||
source_root = 'temp'
|
||||
)
|
||||
|
||||
// funky - comment for function below
|
||||
pub fn funky() {
|
||||
println('hi')
|
||||
}
|
Reference in New Issue
Block a user