Good suggestion - I've filed this as CodePlex bug #2729 
(http://www.codeplex.com/WorkItem/List.aspx?ProjectName=IronPython).

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Tuesday, August 29, 2006 10:58 PM
To: Discussion of IronPython
Subject: [IronPython] expected Array, got Array[int]

Given the method,
public static int method(byte[] array)

ints = Array[int]([1, 2, 3])
method(ints)

prints this confusing error message:
TypeError: expected Array, got Array[int]

Surely, "expected Array[Byte], got Array[int]" is a more useful error message.

Seo Sanghyeon
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to