]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix struct base type error message, patch by Carlos Cadete, fixes bug
authorJürg Billeter <j@bitron.ch>
Fri, 16 Jan 2009 16:33:40 +0000 (16:33 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Fri, 16 Jan 2009 16:33:40 +0000 (16:33 +0000)
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

ChangeLog
vala/valastruct.vala

index 0f033830539b5625e234d7db8c6885d3dd6d5149..36f6bfca276d82da24b770b248404c1b1f348c0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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
+
 2009-01-16  Jürg Billeter  <j@bitron.ch>
 
        * vapi/glib-2.0.vapi:
index 62bb24913f019b355a5d54077a2b0ede85ff5d65..9cfbe308eb8cd68d4998f5e8f327123b2af7e957 100644 (file)
@@ -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;
                        }
                }