mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: add a regression test for `type SocketMessageFn = fn (mut c Client, msg &Message) ?
This commit is contained in:
parent
cd9bb51af2
commit
3dfe242dbb
1
vlib/v/fmt/tests/fntype_mut_args_with_optional_keep.vv
Normal file
1
vlib/v/fmt/tests/fntype_mut_args_with_optional_keep.vv
Normal file
@ -0,0 +1 @@
|
||||
pub type SocketMessageFn = fn (mut c Client, msg &Message) ?
|
@ -1,3 +0,0 @@
|
||||
type Foo = fn (a int)?
|
||||
|
||||
type Foo2 = fn (num int)?int
|
Loading…
Reference in New Issue
Block a user