vfmt: add a regression test for `type SocketMessageFn = fn (mut c Client, msg &Message) ?

pull/6063/head
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