We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17fd557 commit f4729b4Copy full SHA for f4729b4
2 files changed
Tests/List.cs
@@ -0,0 +1,15 @@
1
+using Coplt.Union;
2
+using Coplt.Union.Misc;
3
+
4
+namespace Tests;
5
6
+[Union, UnionSymbol(IsReferenceType = MayBool.True)]
7
+public partial class list<T>
8
+{
9
+ [UnionTemplate]
10
+ private interface Template
11
+ {
12
+ void Nil();
13
+ void Cons(T Item, list<T> Tail);
14
+ }
15
+}
Tests/Tests.csproj
@@ -4,7 +4,7 @@
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
-
+ <NoWarn>CS8981</NoWarn>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
0 commit comments