swift
586dda2e - Sema: Replace TVO_MustBeMaterializable with TVO_CanBindToInOut

Commit
8 years ago
Sema: Replace TVO_MustBeMaterializable with TVO_CanBindToInOut The old TVO_MustBeMaterializable is now equivalent to !TVO_CanBindToLValue && !TVO_CanBindToInOut. I tried to update all usages of createTypeVariable() to pass TVO_CanBindToInOut unless they explicitly passed TVO_MustBeMaterializable before. However, in reality TVO_CanBindToInOut is the rare case; we can remove this flag gradually over time to fix crashes and diagnostics.
Author
Committer
Parents
Loading