Open CrystDragon opened 11 months ago
I can’t reproduce the error with just the code you provided. Was there e.g. a call site that you forgot to include?
I can’t reproduce the error with just the code you provided. Was there e.g. a call site that you forgot to include?
Ah, I didn't notice this, the code I provided only fails in playground. I put it in a command line tool project, and it compiles fine.
Demo.playground.zip @AnthonyLatsis I uploaded a demo for you.
If the playground transform is trying to capture a variadically-generic function as some sort of opaque value like an Any
, that is unfortunately not going to work.
Description I want to implement a variadic version of the currying function.
The error message is:
I have no idea what it means by " try wrapping it in a struct", it seems unrelated.
Environment