Open DanyilNefodov opened 1 year ago
Hey, this functionality probably isn't supported in Cuckoo. It might be easier to add it to the SwiftSyntax version I've been cooking up, but I haven't gotten around to finishing that up and releasing as Cuckoo 2.0 yet. 🙂
I've looked into implementing this and as it stands it will be a bit harder to add than I initially thought. Mainly because of #elseif
that can be added into the mix. I'll keep it in mind though.
2 likes on that previous issue, so this might be useful to users, but I'm not sure if I'm able to add support for it before converting the generator to use SwiftFormat instead of Sourcery.
Hi!
I have protocols which use Compiler custom flags. I have code similar to next one:
When I mock this code with FEATURE_FLAG disabled I get next error:
I didn't found any reference to custom flags in Generator code/doc.
Could you help me please to understand is there any functionality for it? If not can it be supported in future?