From: Rico Tzschichholz Date: Sun, 30 Jan 2022 17:07:23 +0000 (+0100) Subject: tests: Generic type inference for static methods only in compact classes X-Git-Tag: 0.52.11~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaa3c66da7d53f16cf5586eb047b94ef6c415cd5;p=thirdparty%2Fvala.git tests: Generic type inference for static methods only in compact classes --- diff --git a/tests/generics/inference-static-function.vala b/tests/generics/inference-static-function.vala index 4c004bb83..8b4aabcdf 100644 --- a/tests/generics/inference-static-function.vala +++ b/tests/generics/inference-static-function.vala @@ -1,3 +1,4 @@ +[Compact] class Foo { public static G[] bar () { return {};