using System;public module HelloWorld{ public interface ITest { } public class Test[T] where T : struct, ITest { public Value : Nullable[T]; } public Main() : void { Console.WriteLine("Hello world!"); }}
Standard input is empty
prog.nem:10:8:10:24: error: typing constraint on T not satisfied, upon instantiation of System.Nullable: HelloWorld.ITest is not a subtype of System.ValueType [simple require]
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!