mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-13 20:21:36 +00:00
add option type comparison
This commit is contained in:
@ -4,6 +4,10 @@ service SomeS("test2"):
|
|||||||
getStr: ?string -> ?string
|
getStr: ?string -> ?string
|
||||||
getStr1: -> ?string
|
getStr1: -> ?string
|
||||||
getStr2: string -> string
|
getStr2: string -> string
|
||||||
|
checkU32(u: ?u32)
|
||||||
|
|
||||||
|
func checkU32AndU8(a: ?u8):
|
||||||
|
SomeS.checkU32(a)
|
||||||
|
|
||||||
func useOptional(opt: ?string) -> string:
|
func useOptional(opt: ?string) -> string:
|
||||||
res <- SomeS.getStr(opt)
|
res <- SomeS.getStr(opt)
|
||||||
|
Reference in New Issue
Block a user