add option type comparison

This commit is contained in:
DieMyst 2021-11-02 17:03:21 +03:00
parent c511315353
commit aceb9d34f1

View File

@ -4,6 +4,10 @@ service SomeS("test2"):
getStr: ?string -> ?string
getStr1: -> ?string
getStr2: string -> string
checkU32(u: ?u32)
func checkU32AndU8(a: ?u8):
SomeS.checkU32(a)
func useOptional(opt: ?string) -> string:
res <- SomeS.getStr(opt)