2004-09-07 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Tue, 7 Sep 2004 15:28:45 +0000 (15:28 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 7 Sep 2004 15:28:45 +0000 (15:28 -0000)
* expression.cs: Return false if we fail to resolve the inner

svn path=/trunk/mcs/; revision=33524

mcs/mcs/ChangeLog
mcs/mcs/expression.cs

index 27402e3024278c02ce7660605e74d581982295ad..687b70e532c58c1df8df66f127e17e2e48581cdb 100755 (executable)
@@ -1,3 +1,8 @@
+2004-09-07  Miguel de Icaza  <miguel@ximian.com>
+
+       * expression.cs: Return false if we fail to resolve the inner
+       expression. 
+
 2004-09-07  Raja R Harinath  <rharinath@novell.com>
 
        Fix test-290.cs.
index 0f7ea6e15d93d20a7a6d993ba2b9cf18b92e9376..f1e7b37b9dc62d994a77d38b637919936460af56 100755 (executable)
@@ -5870,7 +5870,7 @@ namespace Mono.CSharp {
                                        Expression tmp = (Expression) o;
                                        tmp = tmp.Resolve (ec);
                                        if (tmp == null)
-                                               continue;
+                                               return false;
 
                                        // Console.WriteLine ("I got: " + tmp);
                                        // Handle initialization from vars, fields etc.