Author: cesar
Date: 2005-11-25 21:03:10 -0500 (Fri, 25 Nov 2005)
New Revision: 53497
Modified:
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/CodeGenerator.cs
Log:
raise a warning keep compiling. Give us 8 passing tests
Modified: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/CodeGenerator.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/CodeGenerator.cs
2005-11-26 01:42:58 UTC (rev 53496)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/CodeGenerator.cs
2005-11-26 02:03:10 UTC (rev 53497)
@@ -459,8 +459,7 @@
else if (last_exp is Equality)
ff_emit_equality_cond (ec, last_exp,
lbl);
else {
- Console.WriteLine ("fall_false,
last_exp.GetType () == {0}", last_exp);
- throw new Exception ("unknown type: " +
last_exp.GetType ().ToString ());
+ Console.WriteLine ("WARNING:
fall_false, last_exp.GetType () == {0}, {1}", last_exp,
ast.Location.LineNumber);
}
} else if (type == typeof (Binary))
ff_binary_recursion (ec, ast, lbl);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches