summaryrefslogtreecommitdiff
path: root/vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2009-01-16 16:33:40 +0000
committerJürg Billeter <juergbi@src.gnome.org>2009-01-16 16:33:40 +0000
commitf00e6511289f97d5e464816e6c790d5c2011229b (patch)
treecc4414ab5fecb4103cc5b6ea93f5b4ba7e63a226 /vala
parent959170a388c2bace22fbc0962b28e157ae1ea8fa (diff)
downloadvala-f00e6511289f97d5e464816e6c790d5c2011229b.tar.gz
Fix struct base type error message, patch by Carlos Cadete, fixes bug
2009-01-16 Jürg Billeter <j@bitron.ch> * vala/valastruct.vala: Fix struct base type error message, patch by Carlos Cadete, fixes bug 567366 svn path=/trunk/; revision=2357
Diffstat (limited to 'vala')
-rw-r--r--vala/valastruct.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valastruct.vala b/vala/valastruct.vala
index 62bb24913..9cfbe308e 100644
--- a/vala/valastruct.vala
+++ b/vala/valastruct.vala
@@ -682,7 +682,7 @@ public class Vala.Struct : TypeSymbol {
if (!(type is StructValueType)) {
error = true;
- Report.error (source_reference, "The base type `%s` of value type `%s` is not a struct".printf (type.data_type.to_string (), get_full_name ()));
+ Report.error (source_reference, "The base type `%s` of struct `%s` is not a struct".printf (type.to_string (), get_full_name ()));
return false;
}
}