vala r2357 - in trunk: . vala



Author: juergbi
Date: Fri Jan 16 16:33:40 2009
New Revision: 2357
URL: http://svn.gnome.org/viewvc/vala?rev=2357&view=rev

Log:
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


Modified:
   trunk/ChangeLog
   trunk/vala/valastruct.vala

Modified: trunk/vala/valastruct.vala
==============================================================================
--- trunk/vala/valastruct.vala	(original)
+++ trunk/vala/valastruct.vala	Fri Jan 16 16:33:40 2009
@@ -682,7 +682,7 @@
 
 			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;
 			}
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]