October 21, 2003 12:58 am

About the examples

A few weeks ago, Miguel pointed me to an URL with C# generics examples: http://www.dina.kvl.dk/~sestoft/gcsharp/.

Today, I finally found the time to have a more in-depth look at them and I was wondering whether we can already compile them with gmcs.

  • Fileindex.cs, GNfaToDfa.cs: Depends on GCollections.cs
  • GCollections.cs: Need to implement the T.default syntax.
  • GConvexhull.cs: The following type of constraints is not yet supported: abstract class Ordered<T> { ... } class Point : Ordered<Point> { ... }
  • Gsort.cs, Memoization.cs: We don't support generic delegates yet.

The remaining tests currently crash gmcs, I need to debug this.

Posted by martin at October 21, 2003 12:58 am.