]> 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>
Thu, 16 Apr 2020 10:37:26 +0000 (12:37 +0200)
vala/valalambdaexpression.vala

index 6024df5473f05bfde8cee85d9d3cb287f86ed812..00937bfb26adb25f4fb10bdbbe9113b80f8f9eed 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");