add compile error for copying an async frame #3074
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
Milestone
Expected output:
error: cannot copy @Frame(func)
Actual output: builds successfully
This cannot work because local variables can, for example, be pointers to each other. Copying the frame would break this.
The text was updated successfully, but these errors were encountered: