summaryrefslogtreecommitdiff
path: root/vala/valarealliteral.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valarealliteral.vala')
-rw-r--r--vala/valarealliteral.vala8
1 files changed, 6 insertions, 2 deletions
diff --git a/vala/valarealliteral.vala b/vala/valarealliteral.vala
index 6f327d461..bd4c19a41 100644
--- a/vala/valarealliteral.vala
+++ b/vala/valarealliteral.vala
@@ -1,6 +1,6 @@
/* valarealliteral.vala
*
- * Copyright (C) 2006-2009 Jürg Billeter
+ * Copyright (C) 2006-2010 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -77,7 +77,11 @@ public class Vala.RealLiteral : Literal {
checked = true;
- value_type = new FloatingType ((Struct) analyzer.root_symbol.scope.lookup (get_type_name ()));
+ var st = (Struct) analyzer.root_symbol.scope.lookup (get_type_name ());
+ // ensure attributes are already processed in case of bootstrapping dova-core
+ st.check (analyzer);
+
+ value_type = new FloatingType (st);
return !error;
}