1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 09:38:01 +02:00

Improved constraint check in CastToValue

This commit is contained in:
Brian Fiete 2022-07-11 10:54:04 -04:00
parent 51eaa6276f
commit aa58c864f7
2 changed files with 20 additions and 21 deletions

View file

@ -1,3 +1,5 @@
#pragma warning disable 168
using System;
namespace Tests
@ -92,6 +94,9 @@ namespace Tests
Test.Assert(DoAdd(iNull, iNull) == 200);
Test.Assert(DoAdd(iNull, null) == null);
String str = "Abc";
StringView? svn = str;
}
}
}