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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs