-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make IComparable<T> a compiled template #29
Conversation
We simplify template authoring/implementation by requiring template types to be called TSelf and optional value type TId. This simplifies implementation and documentation, and should be properly documented and enforced via an analyzer.
🧪 Details on macOS Unix 14.7.1✅ StructId.ConstructorGeneratorTests.GenerateRecordConstructor 🧪 Details on Ubuntu 22.04.5 LTS✅ StructId.ConstructorGeneratorTests.GenerateRecordConstructor 🧪 Details on Microsoft Windows 10.0.20348✅ StructId.ConstructorGeneratorTests.GenerateRecordConstructor from dotnet-retest v0.6.3 on .NET 8.0.11 with 💜 |
We simplify template authoring/implementation by requiring template types to be called TSelf and optional value type TId. This simplifies implementation and documentation, and should be properly documented and enforced via an analyzer.