Closed pietroborrello closed 3 years ago
It will take me some time to review. The fix for crash is good, but the warning seems misplaced.
Yes, the warning wasn't a good fit,I moved the check outside, and no warnings emitted, is it better?
thank you!
Fix for issue #129 Added a check on
srcTy->isSized()
so thattransfersNoPointers
returns false in case of opaque structs as well, without crashing. Not sure if the warning should be emitted, or the check should be in a separate condition, just before.