1
0
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:
Delyan Angelov 2020-08-04 16:13:04 +03:00
parent cd9bb51af2
commit 3dfe242dbb
3 changed files with 1 additions and 3 deletions

View File

@ -0,0 +1 @@
pub type SocketMessageFn = fn (mut c Client, msg &Message) ?

View File

@ -1,3 +0,0 @@
type Foo = fn (a int)?
type Foo2 = fn (num int)?int