Is it expected that the DLR and/or IronPython will eventually try to infer
template arguments when calling a generically-defined functions?
PS F:\IPCE-r7\ipy2> *.\ipy.exe*
IronPython 2.0 Alpha (2.0.0.800) on .NET 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.
>>> *import clr*
>>> *clr.AddReferenceByPartialName('xunit')
*>>> *from Xunit import Assert
*>>> *Assert.Equal(1, 1)
*Traceback (most recent call last):
File , line unknown, in ##137
TypeError: Equal() takes at least 2147483647 arguments (2 given)
>>> *Assert.Equal[type(1)](1, 1)
*>>>
Should I file a CodePlex issue for that rather unintuitive error message?
--
Curt Hagenlocher
[EMAIL PROTECTED]
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com