[IronPython] expected Array, got Array[int]

Dino Viehland dinov at exchange.microsoft.com
Wed Aug 30 17:30:12 CEST 2006

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

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] 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])

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
users at lists.ironpython.com

More information about the Ironpython-users mailing list