Closed ByronMayne closed 7 months ago
I missed this after copilot created a faulty constructor. Result is that the source generator stops working without any indication on what's wrong.
I realized it after about 5 minutes, but it's an annoyance.
Thanks for working on this!
I figured this would burn someone at some point, but I have zero visibility on if anyone is actually using the library. I would be interested in getting your feedback if you end up using it. This has been a super tough project to get working due and the api has been a bit... malleable.
Created a PR for this that checks for this along with two other common mistakes
When auto implementing the base class
IncrementalGenerator
the constructor that it generates is invalidWhat the user should do is call the base with a hard coded value