Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
vxx2
/
vlib
/
v
/
checker
/
tests
/
struct_ref_field_no_ptr_err.out
6
lines
·
6
sloc
·
213 bytes
·
ac136c08e64d7e58fa5b7324cda93dd1380c8f3a
Raw
1
vlib/v/checker/tests/struct_ref_field_no_ptr_err.vv:2:13: error: reference field must be initialized with reference
2
1 | struct Foo {
3
2 | bar &Bar = Bar{}
4
| ~~~~~
5
3 | }
6
4 |
7