Contracts for interfaces and abstract classes

2012-08-20 Thread Mike L.
I'm on ubuntu x64 using dmd 2.060 and the following gives an exception: rdmd --main -unittest -version=useInterface mml/sets.d while the following runs just fine: rdmd --main -unittest -version=useAbstractClass mml/sets.d The exception is: object.Exception@src/object_.d(108): need opCmp for

Re: Contracts for interfaces and abstract classes

2012-08-20 Thread Mike L.
Sorry, the title of the thread might be irrelevant, it's just that I was playing around with contracts when I noticed the problem.