mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: fix reflection_sym_test.v (#18574)
This commit is contained in:
@ -2438,7 +2438,7 @@ V now supports static type methods like `User.new()`. These are defined on a str
|
||||
`fn [Type name].[function name]` and allow to organize all functions related to a struct:
|
||||
|
||||
```v oksyntax
|
||||
struct User { }
|
||||
struct User {}
|
||||
|
||||
fn User.new() User {
|
||||
return User{}
|
||||
|
Reference in New Issue
Block a user