]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vala: Don't perform version check on internal lambda method
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 16 Apr 2020 10:37:26 +0000 (12:37 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 20 Apr 2020 20:03:58 +0000 (22:03 +0200)
vala/valalambdaexpression.vala

index a63cda2418562d35783f60a0be893ce982d99fee..d47e7f0e3b8e61d74229c4dd184646963a69649c 100644 (file)
@@ -135,7 +135,6 @@ public class Vala.LambdaExpression : Expression {
                method = new Method ("_lambda%d_".printf (next_lambda_id++), return_type, source_reference);
                // track usage for flow analyzer
                method.used = true;
-               method.version.check (source_reference);
 
                if (return_type is ArrayType) {
                        method.copy_attribute_bool (cb, "CCode", "array_length");