[Genie] nullable type with generic
def test_nullable() : Gee.List? of string
return null
def test_nullable2() : Gee.List of string?
return null
init
print ("")
In generated vapi, generic type is after method declaration :
[CCode (cheader_filename = "main.h")]
public static Gee.List? test_nullable<string> ();
[CCode (cheader_filename = "main.h")]
public static Gee.List<string?> test_nullable2 ();
Unfortunately, we can't box method return type with "()"
def test_nullable() : (Gee.List of string)?