From e82cafa720da4003c3d5034d9de1f94a943e508f Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Mon, 14 Jan 2019 17:20:55 +0100 Subject: [PATCH] codegen: Don't evaluate "pos" CCode attribute early --- codegen/valaccodeattribute.vala | 3 --- 1 file changed, 3 deletions(-) diff --git a/codegen/valaccodeattribute.vala b/codegen/valaccodeattribute.vala index ea099de46..52ef9a01c 100644 --- a/codegen/valaccodeattribute.vala +++ b/codegen/valaccodeattribute.vala @@ -659,9 +659,6 @@ public class Vala.CCodeAttribute : AttributeCache { array_length_type = ccode.get_string ("array_length_type"); array_length_name = ccode.get_string ("array_length_cname"); array_length_expr = ccode.get_string ("array_length_cexpr"); - if (ccode.has_argument ("pos")) { - _pos = ccode.get_double ("pos"); - } sentinel = ccode.get_string ("sentinel"); } if (sentinel == null) { -- 2.47.2