2008-11-05 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Thu, 6 Nov 2008 02:18:18 +0000 (02:18 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 6 Nov 2008 02:18:18 +0000 (02:18 -0000)
* eval.cs: Do not hide errors from invalid calls to LoadAssembly.
Otherwise we never get any meaningful information as to what
failed.

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

mcs/mcs/ChangeLog
mcs/mcs/eval.cs

index a60de6a9f0babfcf8bed31f5397f713a4ff1114a..7cf1a361bc65206d7f953e9b6c062d927ada8201 100644 (file)
@@ -1,3 +1,9 @@
+2008-11-05  Miguel de Icaza  <miguel@novell.com>
+
+       * eval.cs: Do not hide errors from invalid calls to LoadAssembly.
+       Otherwise we never get any meaningful information as to what
+       failed. 
+
 2008-11-05  Marek Safar  <marek.safar@gmail.com>
 
        A fix for bug #436318
index 28103f26e3ab08a8c678756f4c91cc28903f9c6d..61c01b8a62a940e640d003119ac8d114833fe351 100644 (file)
@@ -738,7 +738,7 @@ namespace Mono.CSharp {
                static public void LoadAssembly (string file)
                {
                        lock (evaluator_lock){
-                               Driver.LoadAssembly (file, true);
+                               Driver.LoadAssembly (file, false);
                                RootNamespace.ComputeNamespaces ();
                        }
                }