[Mono-bugs] [Bug 421736] [Regression] Compiler fails on some block containing yield keyword
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Aug 30 15:17:43 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=421736
User msafar at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421736#c1
Marek Safar <msafar at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |msafar at novell.com
--- Comment #1 from Marek Safar <msafar at novell.com> 2008-08-30 13:17:41 MDT ---
using System;
using System.Collections;
using System.Collections.Generic;
class Test
{
class Yp
{
public IEnumerable<bool> fail()
{
return null;
}
}
static Yp YP = new Yp();
public static void Main()
{
}
public static IEnumerable<bool> syntax_error(object _Message, object _List)
{
{
yield break;
}
foreach (bool l1 in YP.fail())
{
yield return false;
}
}
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list