swift
20b23d63 - Diagnose borrow/mutate accessors in enums

Commit
4 days ago
Diagnose borrow/mutate accessors in enums We don't have support for borrowing switch on Copyable types. It is supported for ~Copyable types, but the return expression emission for borrow accessors is not yet implemented. Diagnose instead of crashing the compiler.
Author
Committer
Parents
Loading