swift
b5e79d55 - IRGen: Capture NecessaryBindings in fixed boxes that may invoke deinits.

Commit
1 year ago
IRGen: Capture NecessaryBindings in fixed boxes that may invoke deinits. Noncopyable types may have user-defined code in their `deinit`s that requires passing the type's generic parameters, so a box for a captured noncopyable type needs to capture the generic environment even when the captured type is fixed- layout. Fixes rdar://138958210.
Author
Committer
Parents
Loading