Closed ttytm closed 5 months ago
An issue @bramvbilsen run into: https://github.com/vlang/v/pull/21023#issue-2186879711. Thanks again for the report.
Doc comments correctly use inline comments.
Inline comments of struct field above are used / No doc comment if it's the first field with an end of line comment.
module main pub struct Foo { a string // a comment b string // b comment } fn main() { foo := Foo{} foo.b // <- open the struct fields hover dialog. }
No response
v doctor
-
neovim, code
0.4.1.beta.1
Describe the bug
An issue @bramvbilsen run into: https://github.com/vlang/v/pull/21023#issue-2186879711. Thanks again for the report.
Expected Behavior
Doc comments correctly use inline comments.
Current Behavior
Inline comments of struct field above are used / No doc comment if it's the first field with an end of line comment.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
Environment details (
v doctor
output)-
Editor name
neovim, code
v-analyzer Version
0.4.1.beta.1
VS Code Extension Version
No response