Author: cesar
Date: 2005-07-05 17:41:12 -0400 (Tue, 05 Jul 2005)
New Revision: 46976
Modified:
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ChangeLog
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/LateBinding.cs
Log:
2005-07-05 Cesar Lopez Nataren <[EMAIL PROTECTED]>
* LateBinding.cs (CallValue): throw a NotImplementedException
instead of a returning null.
Modified: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ChangeLog
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ChangeLog
2005-07-05 21:36:09 UTC (rev 46975)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ChangeLog
2005-07-05 21:41:12 UTC (rev 46976)
@@ -1,5 +1,8 @@
2005-07-05 Cesar Lopez Nataren <[EMAIL PROTECTED]>
+ * LateBinding.cs (CallValue): throw a NotImplementedException
+ instead of a returning null.
+
Fixes bug #75442
* FunctionExpression.cs (Emit): use InFunction instead of testing by
hand.
* Parser.cs (MemberExpr): pass parent as the parameter not pn.
Modified: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/LateBinding.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/LateBinding.cs
2005-07-05 21:36:09 UTC (rev 46975)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/LateBinding.cs
2005-07-05 21:41:12 UTC (rev 46976)
@@ -121,9 +121,9 @@
{
if (construct) {
if (brackets) {
- return null;
+ throw new NotImplementedException ();
}
- return null;
+ throw new NotImplementedException ();
} else if (brackets) {
if (!(val is JSObject))
throw new Exception ("val has to be a
JSObject");
@@ -135,7 +135,7 @@
else
throw new NotImplementedException ();
} else {
- return null;
+ throw new NotImplementedException ();
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches