https://bugzilla.novell.com/show_bug.cgi?id=359617
Summary: gmcs confuses generic types when generating anonymous
methods
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
CC: [EMAIL PROTECTED]
Found By: ---
Repro:
--
using System;
using System.Collections.Generic;
class Repro {
class Runner<T> {
public Runner(Action<T> action, T t) {}
}
static void AssertFoo<T> (IList<T> list)
{
new Runner<int> (delegate {
foreach (T item in list) {}
}, 42);
}
static void Main ()
{
}
}
--
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs