Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
vxx2
/
vlib
/
v
/
checker
/
tests
/
option_ref_init_err.vv
17
lines
·
15
sloc
·
212 bytes
·
b1ed652bac5d20cc99bc431890150473f1a5e594
Raw
1
struct Viewport {
2
mut:
3
parent &Window
4
}
5
6
pub struct Window {
7
mut:
8
a0 ?&Viewport
9
a1 ?&Viewport = none
10
a2 ?&Viewport = none
11
a3 ?&Viewport = unsafe { nil }
12
a4 ?&Viewport = nil
13
}
14
15
fn main() {
16
_ := &Window{}
17
}
18