Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] Cannot create PythonType for generic parameter which has
interface constraints
----------------------------------------------
ISSUES
1. [New issue] Cannot create PythonType for generic parameter which has
interface constraints
http://ironpython.codeplex.com/workitem/30905
User dinov has proposed the issue:
"http://pytools.codeplex.com/workitem/243
public class GenericType<T> where T : IEnumerable {
public T ReturnsGenericParam() {
return default(T);
}
}
Import the type and do:
clr.GetPythonType(clr.GetClrType(GenericType).GetMethod('ReturnsGenericParam').ReturnType)
And this throws:
SystemError: Method must be called on a Type for which Type.IsGenericParameter
is false."
----------------------------------------------
----------------------------------------------
You are receiving this email because you subscribed to notifications on
CodePlex.
To report a bug, request a feature, or add a comment, visit IronPython Issue
Tracker. You can unsubscribe or change your issue notification settings on
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users