using System; public module HelloWorld { public class Test[T] where T : struct, IComparable { public Value : Nullable[T]; } public Main() : void { Console.WriteLine("Hello world!"); } }
Standard input is empty
prog.nem:6:8:6:24: error: typing constraint on T not satisfied, upon instantiation of System.Nullable: System.IComparable is not a subtype of System.ValueType [simple require]
Standard output is empty