Biohazrd
Biohazrd copied to clipboard
Add diagnostic when a trampoline for a special function contains generic adapters
Generic adapters cannot be properly emitted for special functions (IE: constructors, operator overloads -- Technically operator overloads are OK today but only because we don't actually emit them as operator overloads.)
In the future we might emit these as factory methods instead.