vala r2289 - in trunk: . vala



Author: juergbi
Date: Wed Jan  7 22:34:15 2009
New Revision: 2289
URL: http://svn.gnome.org/viewvc/vala?rev=2289&view=rev

Log:
2009-01-07  JÃrg Billeter  <j bitron ch>

	* vala/valasymbolresolver.vala:

	Fix critical when using invalid `using' directive


Modified:
   trunk/ChangeLog
   trunk/vala/valasymbolresolver.vala

Modified: trunk/vala/valasymbolresolver.vala
==============================================================================
--- trunk/vala/valasymbolresolver.vala	(original)
+++ trunk/vala/valasymbolresolver.vala	Wed Jan  7 22:34:15 2009
@@ -1,6 +1,7 @@
 /* valasymbolresolver.vala
  *
- * Copyright (C) 2006-2009  JÃrg Billeter, Raffaele Sandrini
+ * Copyright (C) 2006-2009  JÃrg Billeter
+ * Copyright (C) 2006-2008  Raffaele Sandrini
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -210,7 +211,7 @@
 			}
 			if (sym == null) {
 				foreach (UsingDirective ns in current_using_directives) {
-					if (ns.error) {
+					if (ns.error || ns.namespace_symbol is UnresolvedSymbol) {
 						continue;
 					}
 



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