I was playing with my home made "sumtypes".The code below works fine in dmd, but in ldc it triggers that error.
x.match!(some => print(some), none => print("none")); What exactly is this "dual-context"?
I was playing with my home made "sumtypes".The code below works fine in dmd, but in ldc it triggers that error.
x.match!(some => print(some), none => print("none")); What exactly is this "dual-context"?