[Mono-bugs] [Bug 509489] New: gmcs crash with weird code
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 3 08:46:18 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=509489
Summary: gmcs crash with weird code
Classification: Mono
Product: Mono: Compilers
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: rkumpera at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
The following piece of code will cause GMCS to crash with a NRE.
using System;
using SCG = System.Collections.Generic;
public interface IDirectedEnumerable<T> : SCG.IEnumerable<T>
{
}
public interface ICollectionValue<T> : SCG.IEnumerable<T>, IShowable
{
int Count { get;}
}
public interface IDirectedCollectionValue<T> : ICollectionValue<T>,
IDirectedEnumerable<T>
{
}
public abstract class EnumerableBase<T> : SCG.IEnumerable<T> {}
public abstract class CollectionValueBase<T> : EnumerableBase<T>,
ICollectionValue<T>, IShowable {}
public abstract class CollectionBase<T> : CollectionValueBase<T> {}
public abstract class DirectedCollectionBase<T> : CollectionBase<T>,
IDirectedCollectionValue<T> {}
public abstract class SequencedBase<T> : DirectedCollectionBase<T>,
IDirectedCollectionValue<T> {}
public abstract class ArrayBase<T> : SequencedBase<T> {}
public class SortedArray<T> : ArrayBase<T>, IIndexedSorted<T> {}
public class Driver {
public static void Main () {
}
}
--
Configure bugmail: http://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